Pagini recente » Borderou de evaluare (job #528702) | Borderou de evaluare (job #3272948) | Borderou de evaluare (job #877004) | Borderou de evaluare (job #2442282) | Borderou de evaluare (job #2342290)
Borderou de evaluare (job #2342290)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:60: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
mx[0][i - 1][j] = max(mx[0][i - 1][j], p[1 - tt & 1][i][j] - i - j);
~~^~~~
main.cpp:35:60: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
mx[0][i][j - 1] = max(mx[0][i][j - 1], p[1 - tt & 1][i][j] - i - j);
~~^~~~
main.cpp:37:60: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
mx[1][i][j + 1] = max(mx[1][i][j + 1], p[1 - tt & 1][i][j] - i + j);
~~^~~~
main.cpp:38:60: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
mx[1][i - 1][j] = max(mx[1][i - 1][j], p[1 - tt & 1][i][j] - i + j);
~~^~~~
main.cpp:40:60: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
mx[2][i + 1][j] = max(mx[2][i + 1][j], p[1 - tt & 1][i][j] + i - j);
~~^~~~
main.cpp:41:60: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
mx[2][i][j - 1] = max(mx[2][i][j - 1], p[1 - tt & 1][i][j] + i - j);
~~^~~~
main.cpp:43:60: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
mx[3][i + 1][j] = max(mx[3][i + 1][j], p[1 - tt & 1][i][j] + i + j);
~~^~~~
main.cpp:44:60: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
mx[3][i][j + 1] = max(mx[3][i][j + 1], p[1 - tt & 1][i][j] + i + j);
~~^~~~
main.cpp:65:49: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
p[tt & 1][i][j] = tt + 1 + (p[1 - tt & 1][i][j] + tt * max(max(mx[0][i][j] + i + j, mx[1][i][j] + i - j), max(mx[2][i][j] - i + j, mx[3][i][j] - i - j))) % q;
~~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 786kb | OK | 10 |
2 | 9ms | 524kb | OK | 10 |
3 | 26ms | 917kb | OK | 10 |
4 | 15ms | 1441kb | OK | 10 |
5 | 411ms | 3932kb | OK | 10 |
6 | 404ms | 5111kb | OK | 10 |
7 | 468ms | 5505kb | OK | 10 |
8 | 909ms | 6160kb | OK | 10 |
9 | 951ms | 6291kb | OK | 10 |
10 | 929ms | 6291kb | OK | 10 |
Punctaj total | 100 |