Borderou de evaluare (job #1398606)

Utilizator SmarandaMaria Pandele Smaranda Data 24 martie 2015 12:22:58
Problema Hacker2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:154:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("hacker2.in", "r", stdin); ^ user.cpp:155:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("hacker2.out", "w", stdout); ^ user.cpp:157:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &n, &m); ^ user.cpp:159:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d", &a, &b, &c); ^ user.cpp:172:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &a, &p); ^ user.cpp: In function ‘int lca(int, int, int&, int&)’: user.cpp:130:28: warning: array subscript is below array bounds [-Warray-bounds] dx = dx + dp2 [step][y]; ^ user.cpp:131:28: warning: array subscript is below array bounds [-Warray-bounds] dy = dy + dp2 [step][x]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms3948kbRaspuns -mediocru- gresit!0
28ms4116kbRaspuns -mediocru- gresit!0
38ms4112kbRaspuns -mediocru- gresit!0
4312ms15780kbBezea.10
5344ms15808kbRaspuns -mediocru- gresit!0
6316ms17404kbBezea.10
7492ms22972kbBezea.10
8Depăşit23128kbTime limit exceeded.0
9Depăşit22832kbTime limit exceeded.0
10Depăşit23536kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?