Borderou de evaluare (job #612384)

Utilizator avatar deliax delia x deliax IP ascuns
Problemă Debarcare (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 25 oct. 2021 20:41:57 Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:37:9: warning: unused variable 'x' [-Wunused-variable] 37 | int x,i=1,j=1,n=0,k,z,p,nr=0; | ^ main.cpp:43:20: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] 43 | a[i][j]='X'; | ~~~~~~~^~~~ main.cpp:42:20: note: within this loop 42 | for (j=1; j<=11; j++) | ~^~~~ main.cpp:43:20: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset [121, 132] is out of the bounds [0, 121] of object 'a' with type 'char [11][11]' [-Warray-bounds] 43 | a[i][j]='X'; | ~~~~~~~^~~~ main.cpp:6:6: note: 'a' declared here 6 | char a[11][11]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 131 kb OK 10
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb OK 10
6 1 ms 131 kb OK 10
7 1 ms 131 kb OK 10
8 1 ms 131 kb Incorect 0
9 1 ms 131 kb OK 10
10 1 ms 131 kb Incorect 0
Punctaj total 70