Borderou de evaluare (job #1293388)

Utilizator BLz0rDospra Cristian BLz0r Data 15 decembrie 2014 20:51:17
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf (f,"%d%d%d%d%d%d%d%d%d%d",&tinta.x,&tinta.y,&sur1.x,&sur1.y,&sur2.x,&sur2.y,&rob1.x,&rob1.y,&rob2.x,&rob2.y); ^ user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=] user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short int*’ [-Wformat=] user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘short int*’ [-Wformat=] user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 10 has type ‘short int*’ [-Wformat=] user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 11 has type ‘short int*’ [-Wformat=] user.cpp:24:116: warning: format ‘%d’ expects argument of type ‘int*’, but argument 12 has type ‘short int*’ [-Wformat=] user.cpp:23:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d",&n); ^ user.cpp:24:117: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d%d%d%d%d%d%d%d%d%d",&tinta.x,&tinta.y,&sur1.x,&sur1.y,&sur2.x,&sur2.y,&rob1.x,&rob1.y,&rob2.x,&rob2.y); ^ user.cpp:25:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d",&obst); ^ user.cpp:27:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms328kbPrimul numar corect1
20ms356kbPrimul numar corect1
30ms724kbPrimul numar corect1
48ms1724kbPrimul numar corect1
58ms2164kbPrimul numar corect1
628ms3300kbPrimul numar corect1
70ms1172kbPrimul numar corect1
80ms672kbPrimul numar corect1
912ms2380kbPrimul numar corect1
1036ms5592kbPrimul numar corect1
1144ms5528kbPrimul numar corect1
12124ms7252kbPrimul numar corect1
13124ms9284kbPrimul numar corect1
14148ms10752kbPrimul numar corect1
15112ms12816kbPrimul numar corect1
16196ms12104kbPrimul numar corect1
1792ms9556kbPrimul numar corect1
18168ms12596kbPrimul numar corect1
19104ms7488kbPrimul numar corect1
20148ms7404kbPrimul numar corect1
Punctaj total20

Ceva nu functioneaza?