Borderou de evaluare (job #601889)

Utilizator avatar Razvan_Dedu Dedu Razvan Matei Razvan_Dedu IP ascuns
Problemă Fagure (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 13 iul. 2021 19:26:16 Scor 64

Raport evaluator

Compilare: main.c: In function 'main': main.c:21:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 21 | if(d*d>a && a>1 && a>max) | ^~ main.c:24:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 24 | fscanf(fin, "%d", &a); | ^~~~~~ main.c:37:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 37 | if(d*d>a && a>1 && a>max) | ^~ main.c:40:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 40 | if(i==0){ | ^~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d%d", &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:24:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:27:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:31:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:41:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:44:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | fscanf(fin, "%d", &a); | ^~~~~~~~~~~~~~~~~~~~~ main.c:55:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | fscanf(fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb a) OK; b) OK; c) linie incorecta 7
2 1 ms 131 kb OK 10
3 8 ms 131 kb OK 10
4 12 ms 131 kb Killed by Signal 11 0
5 1 ms 131 kb OK 10
6 1 ms 131 kb OK 10
7 12 ms 131 kb Killed by Signal 11 0
8 7 ms 131 kb OK 10
9 14 ms 131 kb Killed by Signal 11 0
10 1 ms 131 kb a) OK; b) OK; c) linie incorecta 7
Punctaj total 64