Pagini recente »
Borderou de evaluare (job #679244)
Borderou de evaluare (job #679244)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:19: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
12 | for(int i=1; i<=Q; i++) {
| ~^~~
main.cpp:18:31: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
18 | for(int j=a-dif; j<=b+rest; j+=n) {
| ~^~~~~~~~
main.cpp:19:21: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
19 | if(a<=j && j<=b) k1++;
| ~^~~
main.cpp:19:29: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
19 | if(a<=j && j<=b) k1++;
| ~^~~
main.cpp:20:21: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
20 | if(j>b) break;
| ~^~
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 && a<=(j+n) && (j+n)<=b) k2++;
| ~^~~
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 && a<=(j+n) && (j+n)<=b) k2++;
| ~^~~
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;
| ~^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
26 ms
|
212 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
OK
|
10
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
OK
|
10
|
6
|
1 ms
|
114 kb
|
Incorect
|
0
|
7
|
1 ms
|
110 kb
|
Incorect
|
0
|
8
|
1 ms
|
110 kb
|
Incorect
|
0
|
9
|
1 ms
|
114 kb
|
Incorect
|
0
|
10
|
21 ms
|
221 kb
|
OK
|
10
|
Punctaj total
|
30
|