Borderou de evaluare (job #749240)

Utilizator avatar ITmaster Radulescu Denis Ciprian ITmaster IP ascuns
Problemă Cursa Formula 1 (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 3 dec. 2023 16:09:20 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 14 | if(min>timp) | ^~ main.c:16:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 16 | nmin=i; | ^~~~ main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d %d %d", &n, &x, &y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d %d %d", &ai, &bi, &ci); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:5: warning: 'nmin' may be used uninitialized [-Wmaybe-uninitialized] 20 | fprintf(fout, "%d %d", nmin+1, min); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:7:44: note: 'nmin' was declared here 7 | int x, n, y, ai, bi, ci, i, min, timp, nmin; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 249 kb Incorect 0
3 179 ms 249 kb Incorect 0
4 179 ms 245 kb Incorect 0
5 391 ms 245 kb Incorect 0
6 509 ms 249 kb Incorect 0
7 609 ms 245 kb Incorect 0
8 659 ms 249 kb Incorect 0
9 739 ms 249 kb Incorect 0
10 869 ms 249 kb Incorect 0
Punctaj total 10