Borderou de evaluare (job #1969324)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 18 aprilie 2017 13:33:51
Problema Harta5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fi,"%d %d %d %d " ,&v[i].l1,&v[i].c1,&v[i].l2,&v[i].c2); ^ user.cpp:32:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:32:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:32:68: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:29:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&t); ^ user.cpp:30:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d %d " ,&n,&m,&k); ^ user.cpp:32:69: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d %d %d " ,&v[i].l1,&v[i].c1,&v[i].l2,&v[i].c2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbOK5
20ms656kbOK5
30ms892kbOK5
40ms1180kbOK5
5188ms6308kbOK5
6184ms6308kbOK5
7180ms6316kbOK5
8188ms6316kbOK5
9184ms6312kbOK5
10400ms9252kbOK5
11100ms5724kbOK5
12156ms6312kbOK5
13116ms6308kbOK5
14108ms5724kbOK5
1588ms5728kbOK5
16268ms8660kbOK5
17288ms8956kbOK5
18340ms9244kbOK5
19264ms8952kbOK5
20308ms9248kbOK5
Punctaj total100

Ceva nu functioneaza?