Pagini recente » Borderou de evaluare (job #105192) | Borderou de evaluare (job #3208625) | Borderou de evaluare (job #2504491) | Borderou de evaluare (job #2207867) | Borderou de evaluare (job #1642872)
Borderou de evaluare (job #1642872)
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 |
1 | 156ms | 1272kb | Incorect | 0 |
2 | Depăşit | 3736kb | Time limit exceeded. | 0 |
3 | Depăşit | 2088kb | Time limit exceeded. | 0 |
4 | 136ms | 1164kb | Incorect | 0 |
5 | Depăşit | 2640kb | Time limit exceeded. | 0 |
6 | 100ms | 964kb | Incorect | 0 |
7 | Depăşit | 2136kb | Time limit exceeded. | 0 |
8 | Depăşit | 2236kb | Time limit exceeded. | 0 |
9 | 12ms | 560kb | Incorect | 0 |
10 | 76ms | 900kb | Incorect | 0 |
Punctaj total | 0 |