Borderou de evaluare (job #594844)

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:07:58 Scor 100

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 OK 10
2 1 ms 262 kb OK 10
3 1 ms 262 kb OK 10
4 1 ms 262 kb OK 10
5 1 ms 262 kb OK 10
6 1 ms 262 kb OK 10
7 1 ms 262 kb OK 10
8 1 ms 262 kb OK 10
9 1 ms 262 kb OK 10
10 1 ms 262 kb OK 10
Punctaj total 100