Borderou de evaluare (job #708657)

Utilizator avatar andreifilimon Popescu Filimon Andrei Cosmin andreifilimon IP ascuns
Problemă Popas (clasa a 8-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 17 mar. 2023 12:15:49 Scor 60

Raport evaluator

Compilare: main.c: In function 'main': main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d", &k); | ^~~~~~~~~~~~~~~~~~~~~ main.c:21:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin, "%d", &index[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:22:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(fin, "%d", &r[index[i]]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:24:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fscanf(fin, "%d", &d[index[i]][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:27:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin, "%d%d", &t, &u); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:54:20: warning: array subscript -1 is below array bounds of 'int[21]' [-Warray-bounds] 54 | d[index[i]][-1]=0; | ~~~~~~~~~~~^~~~ main.c:10:5: note: while referencing 'd' 10 | int d[MAXK+1][MAXR+1]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 241 kb OK 10
8 1 ms 245 kb Incorect 0
9 1 ms 241 kb Incorect 0
10 1 ms 245 kb OK 10
Punctaj total 60