Borderou de evaluare (job #747009)

Utilizator avatar NICO_ Gavris Nicolae NICO_ IP ascuns
Problemă Cursa Formula 1 (clasa a 5-a) Compilator c-32
Rundă Concurs 02 | IQ Academy | clasa a 5-a, seara Status evaluat
Dată 24 nov. 2023 09:53:09 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:24:8: warning: assignment to 'FILE *' from incompatible pointer type 'int (*)(FILE *)' [-Wincompatible-pointer-types] 24 | fin=fclose; | ^ main.c:26:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int *' [-Wformat=] 26 | fprintf(fout ,"%d %d",&p,&min); | ~^ ~~ | | | | int int * | %n main.c:26:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int *' [-Wformat=] 26 | fprintf(fout ,"%d %d",&p,&min); | ~^ ~~~~ | | | | int int * | %n main.c:27:9: warning: assignment to 'FILE *' from incompatible pointer type 'int (*)(FILE *)' [-Wincompatible-pointer-types] 27 | fout=fclose; | ^ 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%d %d %d",&n,&x,&y,&a,&b,&c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin ,"%d %d %d\n",&a,&b,&c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 249 kb Incorect 0
3 179 ms 249 kb Incorect 0
4 189 ms 245 kb Incorect 0
5 399 ms 249 kb Incorect 0
6 519 ms 245 kb Incorect 0
7 579 ms 249 kb Incorect 0
8 644 ms 249 kb Incorect 0
9 953 ms 249 kb Time limit exceeded 0
10 959 ms 249 kb Time limit exceeded 0
Punctaj total 0