Borderou de evaluare (job #622244)

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:53:09 Scor 80

Raport evaluator

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