Borderou de evaluare (job #629171)

Utilizator avatar mexeea Medeea Mincu mexeea IP ascuns
Problemă Creioane (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 30 ian. 2022 22:15:13 Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:15: warning: variable 'max' set but not used [-Wunused-but-set-variable] 10 | int n, i, max, c, in, f; | ^~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d%d", &mat[1][i], &mat[2][i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: array subscript 2 is above array bounds of 'int[2][9005]' [-Warray-bounds] main.c:4:5: note: while referencing 'mat' 4 | int mat[2][9005], v[9005]; | ^~~ main.c:18:31: warning: array subscript 2 is above array bounds of 'int[2][9005]' [-Warray-bounds] 18 | if(mat[1][i]==0 && mat[2][i]==0) | ~~~^~~ main.c:4:5: note: while referencing 'mat' 4 | int mat[2][9005], v[9005]; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 114 kb OK 10
4 1 ms 118 kb Killed by Signal 11 0
5 1 ms 118 kb Killed by Signal 11 0
6 1 ms 118 kb Killed by Signal 11 0
7 1 ms 118 kb Killed by Signal 11 0
8 1 ms 249 kb Killed by Signal 11 0
9 1 ms 118 kb Killed by Signal 11 0
10 1 ms 118 kb Killed by Signal 11 0
Punctaj total 30