Borderou de evaluare (job #798766)

Utilizator avatar Radu_Virtopeanu Radu Virtopeanu Radu_Virtopeanu 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:45:08 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 12 | while (n-1); | ^~~~~ main.c:13:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 13 | { | ^ main.c:8:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf (fin,"%d%d%d%d%d%d", &n,&x,&y,&d,&e,&f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf (fin, "%d%d%d", &a,&b,&c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:26:9: warning: 'fout' is used uninitialized [-Wuninitialized] 26 | fprintf (fout, "%d\n", minim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:5:20: note: 'fout' was declared here 5 | FILE *fin,*fout; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb Killed by Signal 11 0
2 1 ms 249 kb Killed by Signal 11 0
3 1 ms 249 kb Killed by Signal 11 0
4 1 ms 249 kb Killed by Signal 11 0
5 1 ms 512 kb Killed by Signal 11 0
6 1 ms 249 kb Killed by Signal 11 0
7 1 ms 512 kb Killed by Signal 11 0
8 1 ms 270 kb Killed by Signal 11 0
9 1 ms 249 kb Killed by Signal 11 0
10 1 ms 249 kb Killed by Signal 11 0
Punctaj total 0