Borderou de evaluare (job #578089)

Utilizator avatar Gtudor Ghica Tudor Gtudor IP ascuns
Problemă Flori Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 13 ian. 2021 22:16:43 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] 17 | fscanf( fin, "%d", &h[i][j] ); | ~^ ~~~~~~~~ | | | | | short int* | int* | %hd main.cpp:13:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 13 | fscanf( fin, "%d", &n ); | ~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:14:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 14 | fscanf( fin, "%d", &m ); | ~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:17:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 17 | fscanf( fin, "%d", &h[i][j] ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:20:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 20 | fscanf( fin, "%d", &b ); | ~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:22:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 22 | fscanf( fin, "%d%d%d%d%d", &l1, &c1, &l2, &c2, &k ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb OK 10
3 1 ms 262 kb OK 10
4 29 ms 786 kb OK 10
5 29 ms 1048 kb Incorect 0
6 86 ms 2359 kb Incorect 0
7 199 ms 2228 kb Incorect 0
8 206 ms 2486 kb Incorect 0
9 362 ms 4190 kb Killed by Signal 11 0
10 359 ms 4194 kb Killed by Signal 11 0
Punctaj total 40