Borderou de evaluare (job #674817)

Utilizator avatar amalia_ghica Amalia Ghica amalia_ghica IP ascuns
Problemă Macheta (clasa a 8-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 8 nov. 2022 16:58:36 Scor 30

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:32: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 13 | fscanf(fin , "%d%d%d%d%d" , &x[i], &y, &lx[i], &ly, &in); | ~^ ~~~~~ | | | | int * short int * | %hd main.c:13:36: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'short int *' [-Wformat=] 13 | fscanf(fin , "%d%d%d%d%d" , &x[i], &y, &lx[i], &ly, &in); | ~^ ~~~~~~ | | | | int * short int * | %hd main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin , "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:13:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin , "%d%d%d%d%d" , &x[i], &y, &lx[i], &ly, &in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 110 kb Incorect 0
2 1 ms 110 kb OK 10
3 1 ms 114 kb Incorect 0
4 1 ms 114 kb Incorect 0
5 1 ms 114 kb Incorect 0
6 1 ms 114 kb OK 10
7 1 ms 114 kb Incorect 0
8 1 ms 114 kb OK 10
9 1 ms 114 kb Incorect 0
10 1 ms 114 kb Incorect 0
Punctaj total 30