Borderou de evaluare (job #679262)

Utilizator avatar Sbora_David Sbora Ioan-David Sbora_David IP ascuns
Problemă Interval2 (clasele 5/6) Compilator cpp-32
Rundă juniori1 Status evaluat
Dată 3 dec. 2022 12:02:12 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:19: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 20 | for(int i=1; i<=Q; i++) { | ~^~~ main.cpp:26:31: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 26 | for(int j=a-dif; j<=b+rest; j+=n) { | ~^~~~~~~~ main.cpp:27:21: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 27 | if(a<=j && j<=b) k1++; | ~^~~ main.cpp:27:29: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 27 | if(a<=j && j<=b) k1++; | ~^~~ main.cpp:28:21: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 28 | if(j>b) break; | ~^~ main.cpp:35:31: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 35 | for(int j=a-dif; j<=b+rest; j+=n) { | ~^~~~~~~~ main.cpp:36:21: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 36 | if(a<=j && j<=b && a<=(j+n) && (j+n)<=b) k2++; | ~^~~ main.cpp:36:29: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 36 | if(a<=j && j<=b && a<=(j+n) && (j+n)<=b) k2++; | ~^~~ main.cpp:37:21: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 37 | if(j>b) break; | ~^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 5001 ms 118 kb Time limit exceeded 0
2 2 ms 114 kb OK 10
3 1 ms 114 kb Incorect 0
4 1 ms 114 kb OK 10
5 1 ms 110 kb OK 10
6 1 ms 118 kb Incorect 0
7 1 ms 114 kb Incorect 0
8 5008 ms 118 kb Time limit exceeded 0
9 1 ms 114 kb Incorect 0
10 22 ms 217 kb OK 10
Punctaj total 40