Pagini recente » Borderou de evaluare (job #2543934) | Borderou de evaluare (job #1430626) | Borderou de evaluare (job #2486143) | Borderou de evaluare (job #1911945) | Borderou de evaluare (job #1679640)
Borderou de evaluare (job #1679640)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in", "r", stdin);
^
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.out", "w", stdout);
^
user.cpp:21: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:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:39:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp:31:35: warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int j=1; j <= n-(1<<i)+l; j++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 280kb | OK | 10 | 10 |
2 | 0ms | 292kb | OK | 10 | 10 |
3 | 0ms | 596kb | OK | 10 | 10 |
4 | 80ms | 3712kb | OK | 10 | 10 |
5 | 96ms | 3712kb | OK | 10 | 20 |
6 | 560ms | 4416kb | OK | 10 |
7 | 584ms | 6004kb | OK | 10 | 10 |
8 | 676ms | 7448kb | OK | 10 | 10 |
9 | 764ms | 7452kb | OK | 10 | 10 |
10 | 856ms | 7452kb | OK | 10 | 10 |
Punctaj total | 100 |