Borderou de evaluare (job #1365714)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 28 februarie 2015 14:38:19
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 95

Raport evaluator

Compilare: user.cpp: In function ‘void trave(coord, coord, int)’: user.cpp:55: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 coli(coord, coord)’: user.cpp:97:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (!(x2 <= x1 && x2 >= x3 || x2 >= x1 && x2 <= x3)) ^ user.cpp:99:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (!(y2 <= y1 && y2 >= y3 || y2 >= y1 && y2 <= y3)) ^ user.cpp: In function ‘int main()’: user.cpp:150: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:151: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:153:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:155: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:156:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ user.cpp:160: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
10ms548kbOK5
20ms604kbOK5
30ms1036kbOK5
48ms2304kbOK5
512ms2808kbOK5
628ms4048kbOK5
70ms1504kbOK5
80ms892kbOK5
912ms2848kbOK5
1048ms6020kbOK5
1156ms6220kbOK5
12148ms8356kbOK5
1352ms4156kbOK5
1492ms7844kbOK5
15196ms11916kbOK5
16192ms8752kbOK5
1728ms4580kbOK5
1888ms8056kbOK5
1988ms7140kbOK5
20Depăşit7604kbTime limit exceeded.0
Punctaj total95

Ceva nu functioneaza?