Borderou de evaluare (job #594843)

Utilizator avatar vladimir.gavris vladimir g vladimir.gavris IP ascuns
Problemă Alarma (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 6 apr. 2021 09:06:42 Scor 46

Raport evaluator

Compilare: main.c: In function 'main': main.c:92:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 92 | if(nr<1000) | ^~ main.c:96:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 96 | if(nr<100) | ^~ main.c:11:11: warning: unused variable 'j' [-Wunused-variable] 11 | int i,j,h,m,nr; | ^ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin,"%d%d",&coord[i][0],&coord[i][1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(fin,"%d",&nr); | ^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb a) OK; b) rezultat incorect 4
2 1 ms 262 kb a) OK; b) rezultat incorect 4
3 1 ms 262 kb a) OK; b) rezultat incorect 4
4 1 ms 262 kb a) OK; b) rezultat incorect 4
5 1 ms 262 kb a) OK; b) rezultat incorect 4
6 1 ms 262 kb a) OK; b) rezultat incorect 4
7 1 ms 262 kb a) OK; b) rezultat incorect 4
8 1 ms 262 kb OK 10
9 1 ms 262 kb a) OK; b) rezultat incorect 4
10 1 ms 262 kb a) OK; b) rezultat incorect 4
Punctaj total 46