Borderou de evaluare (job #1227178)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 9 septembrie 2014 17:01:24
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 17

Raport evaluator

Compilare: user.cpp: In function ‘int coliniar(coord, coord)’: user.cpp:29:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (!(x2 <= x1 && x2 >= x3 || x2 >= x1 && x2 <= x3)) ^ user.cpp:31:20: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (!(y2 <= y1 && y2 >= y3 || y2 >= y1 && y2 <= y3)) ^ user.cpp: In function ‘void citire()’: user.cpp:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:74:73: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] &sur1.y, &sur2.x, &sur2.y, &pos1.x, &pos1.y, &pos2.x, &pos2.y); ^ user.cpp:75:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ user.cpp:81:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &c1, &c2); ^ user.cpp: In function ‘int main()’: user.cpp:152: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:153: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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms508kbPrimul numar corect1
20ms588kbPrimul numar corect1
30ms832kbPrimul numar corect1
412ms1684kbPrimul numar corect1
520ms2012kbPrimul numar corect1
648ms2904kbPrimul numar corect1
74ms1200kbPrimul numar corect1
80ms788kbPrimul numar corect1
920ms2196kbPrimul numar corect1
10104ms4396kbPrimul numar corect1
11112ms4388kbPrimul numar corect1
12240ms5716kbPrimul numar corect1
13180ms6676kbPrimul numar corect1
14264ms7464kbPrimul numar corect1
15Depăşit8340kbTime limit exceeded.0
16Depăşit8332kbTime limit exceeded.0
17152ms6680kbPrimul numar corect1
18292ms8348kbPrimul numar corect1
19180ms5708kbPrimul numar corect1
20Depăşit8332kbTime limit exceeded.0
Punctaj total17

Ceva nu functioneaza?