Pagini recente »
Borderou de evaluare (job #780266)
|
Borderou de evaluare (job #656858)
|
Borderou de evaluare (job #664977)
|
Borderou de evaluare (job #136817)
|
Borderou de evaluare (job #703526)
Borderou de evaluare (job #703526)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:9: warning: unused variable 'ok' [-Wunused-variable]
24 | int ok = 0;
| ^~
main.cpp:13:14: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations]
13 | v[i] = 0;
| ~~~~~^~~
main.cpp:12:23: note: within this loop
12 | for (int i = 0; i <= 10; ++i)
| ~~^~~~~
main.cpp:13:14: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset [40, 43] is out of the bounds [0, 40] of object 'v' with type 'int [10]' [-Warray-bounds]
13 | v[i] = 0;
| ~~~~~^~~
main.cpp:8:5: note: 'v' declared here
8 | int v[10];
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
507 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
245 kb
|
OK
|
10
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
60
|