Borderou de evaluare (job #603347)

Utilizator avatar ghica_amalia Ghica Amalia ghica_amalia IP ascuns
Problemă Concurs (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 11 aug. 2021 09:34:39 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 12 | if(h == a) | ^~ main.c:14:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 14 | if(a / 100 == h / 100){ | ^~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf( fin, "%d%d" , &h, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:11:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf( fin , "%d" , &a); | ^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 131 kb OK 10
4 1 ms 131 kb OK 10
5 1 ms 131 kb OK 10
6 1 ms 131 kb OK 10
7 1 ms 131 kb OK 10
8 1 ms 131 kb OK 10
9 1 ms 131 kb OK 10
10 1 ms 131 kb OK 10
Punctaj total 100