Borderou de evaluare (job #803744)

Utilizator avatar www_www Veveriță Tudor www_www IP ascuns
Problemă Reactivi (clasa a 9-a) Compilator c-32
Rundă lasm_09_01_2025_clasa10 Status evaluat
Dată 9 ian. 2025 21:32:38 Scor 20

Raport evaluator

Compilare: main.c: In function 'main': main.c:16:30: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 16 | fscanf(in, "%d %d", &rece[i][0], &rece[i][1]); | ~^ ~~~~~~~~~~~ | | | | int * short int * | %hd main.c:16:33: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'short int *' [-Wformat=] 16 | fscanf(in, "%d %d", &rece[i][0], &rece[i][1]); | ~^ ~~~~~~~~~~~ | | | | int * short int * | %hd main.c:12:13: warning: unused variable 'nrFrigidere' [-Wunused-variable] 12 | int nrFrigidere = 0; | ^~~~~~~~~~~ main.c:11:16: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | int N; fscanf(in, "%d", &N); | ^~~~~~~~~~~~~~~~~~~~ main.c:16:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(in, "%d %d", &rece[i][0], &rece[i][1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 266 kb Incorect 0
5 9 ms 245 kb Incorect 0
6 1 ms 249 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 9 ms 245 kb OK 10
9 1 ms 245 kb Incorect 0
10 9 ms 245 kb Incorect 0
Punctaj total 20