Pagini recente » Borderou de evaluare (job #1908111) | Autentificare | Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #2139256)
Borderou de evaluare (job #2139256)
Raport evaluator
Compilare:
user.cpp: In function ‘void U(int, int, int)’:
user.cpp:20:10: warning: statement has no effect [-Wunused-value]
for(x; x <= n ; x = x + (x & (-x)))
^
user.cpp: In function ‘int Q(int, int)’:
user.cpp:27:10: warning: statement has no effect [-Wunused-value]
for(x; x >= 1 ; x = x - (x & (-x)))
^
user.cpp: In function ‘int main()’:
user.cpp:42:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo.in", "r", stdin);
^
user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo.out", "w", stdout);
^
user.cpp:44:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:48:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:50:40: 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:56:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp:62:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 20ms | 25472kb | OK | 10 |
| 2 | 32ms | 25808kb | OK | 10 |
| 3 | 32ms | 25872kb | OK | 10 |
| 4 | 140ms | 28680kb | OK | 10 |
| 5 | 144ms | 29396kb | OK | 10 |
| 6 | 384ms | Depăşit | Memory limit exceeded. | 0 |
| 7 | 420ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 384ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 472ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 388ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 50 |