Borderou de evaluare (job #1345963)

Utilizator akumariaPatrascanu Andra-Maria akumaria Data 17 februarie 2015 22:36:36
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 21

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ai.in", "r", stdin); ^ user.cpp:48:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ai.out", "w", stdout); ^ user.cpp:53:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:54:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &target.x, &target.y); ^ user.cpp:55:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &source1.x, &source1.y); ^ user.cpp:56:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &source2.x, &source2.y); ^ user.cpp:57:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &x1, &y1, &x2, &y2); ^ user.cpp:58:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ user.cpp:63:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms320kbOK5
20ms360kbRaspuns gresit0
30ms496kbOK5
44ms1096kbRaspuns gresit0
58ms1396kbRaspuns gresit0
624ms2320kbRaspuns gresit0
70ms748kbRaspuns gresit0
80ms468kbRaspuns gresit0
98ms1556kbRaspuns gresit0
1024ms4216kbPrimul numar corect1
1136ms4216kbRaspuns gresit0
1272ms5508kbRaspuns gresit0
1364ms6484kbRaspuns gresit0
1476ms7260kbRaspuns gresit0
15116ms8120kbOK5
16148ms8136kbOK5
1728ms6476kbRaspuns gresit0
1876ms8124kbRaspuns gresit0
1972ms5524kbRaspuns gresit0
20172ms8004kbRaspuns gresit0
Punctaj total21

Ceva nu functioneaza?