Borderou de evaluare (job #798317)

Utilizator avatar Balteanu Balteanu Rares Balteanu IP ascuns
Problemă Trigrame (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 30 nov. 2024 17:58:50 Scor 3

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:47:29: warning: iteration 61 invokes undefined behavior [-Waggressive-loop-optimizations] 47 | if(a[i][j][k]==rez2) | ~~~~~~~~~^ main.cpp:46:22: note: within this loop 46 | for(k=0;k<=61;k++) | ~^~~~ main.cpp:39:29: warning: iteration 61 invokes undefined behavior [-Waggressive-loop-optimizations] 39 | if(a[i][j][k]!=0) | ~~~~~~~~~^ main.cpp:37:22: note: within this loop 37 | for(k=0;k<=61;k++) | ~^~~~ main.cpp:33:18: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 33 | a[x][y][z]++; | ~~~~~~~~~^ main.cpp:9:35: note: 'x' was declared here 9 | int rez1=0,rez2=-1,rez3=0,n,i,x,y,z,j,k; | ^ main.cpp:33:18: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 33 | a[x][y][z]++; | ~~~~~~~~~^ main.cpp:9:37: note: 'y' was declared here 9 | int rez1=0,rez2=-1,rez3=0,n,i,x,y,z,j,k; | ^ main.cpp:33:18: warning: 'z' may be used uninitialized [-Wmaybe-uninitialized] 33 | a[x][y][z]++; | ~~~~~~~~~^ main.cpp:9:39: note: 'z' was declared here 9 | int rez1=0,rez2=-1,rez3=0,n,i,x,y,z,j,k; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 8 ms 245 kb Raspuns partial corect! 3
2 8 ms 245 kb Raspuns gresit! 0
3 9 ms 245 kb Raspuns gresit! 0
4 7 ms 249 kb Raspuns gresit! 0
5 9 ms 507 kb Raspuns gresit! 0
6 5 ms 249 kb Killed by Signal 11 0
7 8 ms 507 kb Raspuns gresit! 0
8 9 ms 499 kb Raspuns gresit! 0
9 6 ms 249 kb Killed by Signal 11 0
10 6 ms 503 kb Killed by Signal 11 0
Punctaj total 3