Borderou de evaluare (job #679296)

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 13:04:04 Scor 90

Raport evaluator

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