Borderou de evaluare (job #2631275)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:78: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
rmq[k][i][j] = max (max (rmq[k - 1][i][j], rmq[k - 1][i][j + (1 << k - 1)]),
~~^~~
main.cpp:20:57: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
max (rmq[k - 1][i + (1 << k - 1)][j], rmq[k - 1][i + (1 << k - 1)][j + (1 << k - 1)]));
~~^~~
main.cpp:20:90: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
max (rmq[k - 1][i + (1 << k - 1)][j], rmq[k - 1][i + (1 << k - 1)][j + (1 << k - 1)]));
~~^~~
main.cpp:20:108: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
max (rmq[k - 1][i + (1 << k - 1)][j], rmq[k - 1][i + (1 << k - 1)][j + (1 << k - 1)]));
~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 3ms | 393kb | OK | 10 | 10 |
3 | 5ms | 786kb | OK | 10 | 10 |
4 | 8ms | 1310kb | OK | 10 | 10 |
5 | 15ms | 2097kb | OK | 10 | 10 |
6 | 29ms | 3014kb | OK | 10 | 50 |
7 | 51ms | 4849kb | OK | 10 |
8 | 85ms | 6815kb | OK | 10 |
9 | 115ms | 8912kb | OK | 10 |
10 | 132ms | 8781kb | OK | 10 |
Punctaj total | 100 |