Borderou de evaluare (job #622255)

Utilizator avatar marius.tilea Tilea Marius marius.tilea IP ascuns
Problemă Bile1 (clasa a 7-a) Compilator cpp-32
Rundă lasm_21_12_2021_cl12 Status evaluat
Dată 21 dec. 2021 15:55:51 Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] 15 | fscanf(fin, "%d", &a[1][i]); | ~^ ~~~~~~~~ | | | | | short int* | int* | %hd main.cpp:9:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d%d%d", &n, &m, &p); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:11:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d%d", &x, &y); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:15:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin, "%d", &a[1][i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 520 kb OK 10
2 19 ms 4194 kb OK 10
3 14 ms 4980 kb OK 10
4 17 ms 5373 kb OK 10
5 25 ms 7204 kb OK 10
6 31 ms 6156 kb OK 10
7 30 ms 8122 kb OK 10
8 37 ms 8126 kb Killed by Signal 11 0
9 34 ms 8126 kb Killed by Signal 11 0
10 1 ms 258 kb OK 10
Punctaj total 80