Borderou de evaluare (job #819865)

Utilizator avatar Radu_Balas Radu Andrei Balas Radu_Balas IP ascuns
Problemă Lasere (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 9 apr. 2025 18:29:58 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%d%d%d",&cer,&n,&m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin,"%hd",&x[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin,"%d%d%d",&l,&c,&dir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:71:18: warning: array subscript -1 is below array bounds of 'short int[205][205]' [-Warray-bounds=] 71 | if (x[l][c]<x[i][j]&&0<=l&&l<n&&0<=c&&c<n) | ~^~~ main.c:3:7: note: while referencing 'x' 3 | short x[205][205]; | ^ main.c:65:21: warning: array subscript -1 is below array bounds of 'short int[205]' [-Warray-bounds=] 65 | if (x[l][c]<x[i][j]&&0<=l&&l<n&&0<=c&&c<n) | ~~~~^~~ main.c:3:7: note: while referencing 'x' 3 | short x[205][205]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 270 kb OK 10
3 1 ms 507 kb OK 10
4 1 ms 245 kb OK 10
5 19 ms 245 kb OK 10
6 1 ms 266 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 249 kb OK 10
Punctaj total 100