Pagini recente »
Borderou de evaluare (job #148212)
|
Borderou de evaluare (job #581904)
|
Borderou de evaluare (job #496525)
|
Borderou de evaluare (job #283536)
|
Borderou de evaluare (job #817290)
Borderou de evaluare (job #817290)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:13: warning: unused variable 'c' [-Wunused-variable]
9 | int a,b,c,d=1034,cc=0,dd=3625,m=0;
| ^
main.cpp:22:15: warning: iteration 100 invokes undefined behavior [-Waggressive-loop-optimizations]
22 | cu[cc]=0;
| ~~~~~~^~
main.cpp:21:16: note: within this loop
21 | for(cc=1;cc<102;cc++){
| ~~^~~~
main.cpp:30:17: warning: iteration 100 invokes undefined behavior [-Waggressive-loop-optimizations]
30 | if(cu[cc]>m)m=cu[cc];
| ~~~~~^
main.cpp:29:16: note: within this loop
29 | for(cc=1;cc<102;cc++){
| ~~^~~~
main.cpp:22:15: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset [404, 407] is out of the bounds [0, 404] of object 'cu' with type 'int [101]' [-Warray-bounds=]
22 | cu[cc]=0;
| ~~~~~~^~
main.cpp:6:13: note: 'cu' declared here
6 | int v[2000],cu[101];
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
Incorect
|
0
|
2
|
1 ms
|
266 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
507 kb
|
Incorect
|
0
|
6
|
1 ms
|
266 kb
|
Incorect
|
0
|
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
|
Incorect
|
0
|
Punctaj total
|
10
|