Pagini recente »
Borderou de evaluare (job #305725)
|
Borderou de evaluare (job #547478)
|
Borderou de evaluare (job #44824)
|
Borderou de evaluare (job #185921)
|
Borderou de evaluare (job #805002)
Borderou de evaluare (job #805002)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:16: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized]
22 | if(i!=p-2 and i!=p-1 and i!=p) s+=a[i];
| ~^~
main.cpp:10:11: note: 'p' was declared here
10 | int i,p,p2;
| ^
main.cpp:33:37: warning: 'p2' may be used uninitialized [-Wmaybe-uninitialized]
33 | if(i!=p and i!=p-1 and i!=p2-1 and i!=p2) s1+=a[i];
| ~~^~
main.cpp:10:13: note: 'p2' was declared here
10 | int i,p,p2;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
507 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
OK
|
10
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
80
|