Pagini recente » Borderou de evaluare (job #33147) | Borderou de evaluare (job #322641) | Borderou de evaluare (job #877154) | Borderou de evaluare (job #923724) | Borderou de evaluare (job #2635242)
Borderou de evaluare (job #2635242)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:55:60: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
seg[j][i] = cmp(seg[j-1][i], seg[j-1][i + (1<<j-1)]);
~^~
main.cpp:31: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);
^
main.cpp:32: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);
^
main.cpp:35:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:37:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", v+i);
^
main.cpp:59:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 5ms | 131kb | OK | 10 | 10 |
4 | 99ms | 917kb | OK | 10 | 10 |
5 | 110ms | 917kb | OK | 10 | 20 |
6 | 564ms | 3014kb | OK | 10 |
7 | 720ms | 3145kb | OK | 10 | 10 |
8 | 857ms | 3670kb | OK | 10 | 10 |
9 | 834ms | 3932kb | OK | 10 | 10 |
10 | 1115ms | 4325kb | OK | 10 | 10 |
Punctaj total | 100 |