Borderou de evaluare (job #1358494)

Utilizator SmarandaMaria Pandele Smaranda Data 24 februarie 2015 17:25:30
Problema Patrate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 68

Raport evaluator

Compilare: user.cpp: In function ‘bool verif(int, BoundingBox, int, bool*)’: user.cpp:50:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (h [i] == 0) ^ user.cpp:70:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (h [i] == 0) ^ user.cpp:90:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (h [i] == 0) ^ user.cpp:110:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (h [i] == 0) ^ user.cpp: In function ‘int main()’: user.cpp:138:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("patrate.in", "r", stdin); ^ user.cpp:139:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("patrate.out", "w", stdout); ^ user.cpp:141:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:145:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &P [i].x, &P [i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms480kbOK4
24ms484kbOK4
30ms484kbOK4
44ms484kbOK4
58ms480kbOK4
612ms492kbOK4
712ms496kbOK4
812ms500kbOK4
920ms504kbOK4
1028ms508kbOK4
1148ms520kbOK4
1260ms528kbOK4
1376ms540kbOK4
1480ms552kbOK4
15124ms568kbOK4
1684ms584kbOK4
1764ms604kbOK4
18Depăşit600kbTime limit exceeded.0
19Depăşit628kbTime limit exceeded.0
20Depăşit660kbTime limit exceeded.0
21Depăşit688kbTime limit exceeded.0
22Depăşit724kbTime limit exceeded.0
23Depăşit772kbTime limit exceeded.0
24Depăşit804kbTime limit exceeded.0
25Depăşit844kbTime limit exceeded.0
Punctaj total68

Ceva nu functioneaza?