Borderou de evaluare (job #1345998)

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

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
20ms368kbPrimul numar corect1
30ms496kbOK5
44ms1100kbPrimul numar corect1
58ms1400kbOK5
624ms2324kbOK5
70ms752kbPrimul numar corect1
80ms476kbOK5
98ms1568kbOK5
1028ms4220kbPrimul numar corect1
1136ms4212kbPrimul numar corect1
1276ms5512kbPrimul numar corect1
1360ms6488kbPrimul numar corect1
1476ms7268kbPrimul numar corect1
15140ms8124kbOK5
16148ms8136kbOK5
1728ms6480kbPrimul numar corect1
1876ms8132kbPrimul numar corect1
1972ms5524kbOK5
20176ms8012kbPrimul numar corect1
Punctaj total56

Ceva nu functioneaza?