Borderou de evaluare (job #581738)

Utilizator avatar andrei_marciuc Marciuc Andrei andrei_marciuc IP ascuns
Problemă Turist (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 14 feb. 2021 00:13:05 Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] 21 | fscanf( fin, "%d %d", &v[ i ].l, &v[ i ].c ); | ~^ ~~~~~~~~~ | | | | int* short int* | %hd main.cpp:21:27: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=] 21 | fscanf( fin, "%d %d", &v[ i ].l, &v[ i ].c ); | ~^ ~~~~~~~~~ | | | | int* short int* | %hd main.cpp:19:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 19 | fscanf( fin, "%d %d\n%d %d\n%d\n", &n, &m, &lin, &col, &k ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:21:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 21 | fscanf( fin, "%d %d", &v[ i ].l, &v[ i ].c ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 1 ms 262 kb OK 10
5 1 ms 262 kb Killed by Signal 9 0
6 1 ms 262 kb OK 10
7 1 ms 262 kb OK 10
8 1 ms 262 kb OK 10
9 1 ms 262 kb OK 10
10 1 ms 262 kb OK 10
Punctaj total 90