Borderou de evaluare (job #1364906)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 27 februarie 2015 21:23:06
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 54

Raport evaluator

Compilare: user.cpp: In function ‘void trave(coord, coord, int)’: user.cpp:54:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (h.x < g.x || h.x == g.x && h.y < g.y) ^ user.cpp: In function ‘int main()’: user.cpp:105:33: 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:106:35: 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:108:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:110:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] &s2.x, &s2.y, &r1.x, &r1.y, &r2.x, &r2.y); ^ user.cpp:111:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ user.cpp:115:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &t1, &t2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms540kbOK5
20ms588kbPrimul numar corect1
30ms1024kbOK5
48ms2296kbOK5
512ms2792kbOK5
628ms4124kbPrimul numar corect1
70ms1584kbPrimul numar corect1
80ms904kbPrimul numar corect1
912ms2836kbOK5
1040ms6012kbPrimul numar corect1
1152ms6212kbPrimul numar corect1
12136ms8340kbPrimul numar corect1
1352ms4148kbOK5
14108ms8912kbOK5
15168ms11900kbPrimul numar corect1
16Depăşit8712kbTime limit exceeded.0
1728ms4768kbPrimul numar corect1
18104ms9332kbOK5
1984ms7136kbOK5
20Depăşit8412kbTime limit exceeded.0
Punctaj total54

Ceva nu functioneaza?