Borderou de evaluare (job #772649)

Utilizator avatar David_Radavoi David Radavoi David_Radavoi IP ascuns
Problemă Popas (clasa a 8-a) Compilator c-32
Rundă Tema 26 Clasa a 6-a Status evaluat
Dată 7 apr. 2024 18:13:27 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:20:27: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'short int *' [-Wformat=] 20 | fscanf(fin, "%d", &m[i][j]); | ~^ ~~~~~~~~ | | | | | short int * | int * | %hd main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin, "%d", &k); | ^~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin, "%d%d", &v[i], &r[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d", &m[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:38:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fscanf(fin, "%d%d", &t, &u); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 241 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 266 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100