Borderou de evaluare (job #1642872)

Utilizator atatomirTatomir Alex atatomir Data 9 martie 2016 16:39:39
Problema Votare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void query(node*)’: user.cpp:97:9: warning: unused variable ‘i’ [-Wunused-variable] int i, j, x, y; ^ user.cpp:97:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, x, y; ^ user.cpp: In function ‘int main()’: user.cpp:132:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("votare.in","r",stdin); ^ user.cpp:133:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("votare.out","w",stdout); ^ user.cpp:135:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp: In member function ‘void op::read()’: user.cpp:36:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &type, &x, &y); ^ user.cpp: In function ‘void query(node*)’: user.cpp:117:13: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (x < act->x || x - act->x < real_dist) ^ user.cpp:122:13: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (y < act->y || y - act->y < real_dist) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1156ms1272kbIncorect0
2Depăşit3736kbTime limit exceeded.0
3Depăşit2088kbTime limit exceeded.0
4136ms1164kbIncorect0
5Depăşit2640kbTime limit exceeded.0
6100ms964kbIncorect0
7Depăşit2136kbTime limit exceeded.0
8Depăşit2236kbTime limit exceeded.0
912ms560kbIncorect0
1076ms900kbIncorect0
Punctaj total0

Ceva nu functioneaza?