Borderou de evaluare (job #798768)

Utilizator avatar PKarinaa_ Pata Karina PKarinaa_ IP ascuns
Problemă Cursa Formula 1 (clasa a 5-a) Compilator c-32
Rundă Concurs 02 | IQ Academy | clasa a 5-a Status evaluat
Dată 3 dec. 2024 18:49:22 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:19: warning: too many arguments for format [-Wformat-extra-args] 8 | fscanf (fin, "%d&d&d" , &n , &x, &y); | ^~~~~~~~ main.c:13:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 13 | for (int i =1 ; i<=n ; i++) ; { | ^~~ main.c:13:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 13 | for (int i =1 ; i<=n ; i++) ; { | ^ main.c:17:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 17 | if (timptotal < mintimp || (timptotal ==mintimp && csg== -1) ); | ^~ main.c:18:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 18 | mintimp == timptotal; | ^~~~~~~ main.c:18:17: warning: statement with no effect [-Wunused-value] 18 | mintimp == timptotal; | ~~~~~~~~^~~~~~~~~~~~ main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf (fin, "%d&d&d" , &n , &x, &y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf ( fin, "%d%d%d", &ai, &bi,&ci) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 266 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 0