Pagini recente » Borderou de evaluare (job #834949) | Borderou de evaluare (job #1735946) | Borderou de evaluare (job #2431620) | Borderou de evaluare (job #3244702) | Borderou de evaluare (job #2534967)
Borderou de evaluare (job #2534967)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:54:44: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[i & 1][j] = 1LL * (dp[i & 1 ^ 1][j] - dp[i & 1 ^ 1][j - 1] + MOD) * (MOD + 1 - p[i]) % MOD;
~~^~~
main.cpp:54:63: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[i & 1][j] = 1LL * (dp[i & 1 ^ 1][j] - dp[i & 1 ^ 1][j - 1] + MOD) * (MOD + 1 - p[i]) % MOD;
~~^~~
main.cpp:56:38: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[i & 1][j] = (dp[i & 1 ^ 1][j] - dp[i & 1 ^ 1][j - 1] + MOD) % MOD;
~~^~~
main.cpp:56:57: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[i & 1][j] = (dp[i & 1 ^ 1][j] - dp[i & 1 ^ 1][j - 1] + MOD) % MOD;
~~^~~
main.cpp:58:40: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[i & 1][l[i]] += 1LL * (dp[i & 1 ^ 1][r[i]] - dp[i & 1 ^ 1][l[i] - 1] + MOD) * p[i] % MOD;
~~^~~
main.cpp:58:62: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[i & 1][l[i]] += 1LL * (dp[i & 1 ^ 1][r[i]] - dp[i & 1 ^ 1][l[i] - 1] + MOD) * p[i] % MOD;
~~^~~
main.cpp:85:44: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[i & 1][j] = 1LL * (dp[i & 1 ^ 1][j] - dp[i & 1 ^ 1][j + 1] + MOD) * (MOD + 1 - p[i]) % MOD;
~~^~~
main.cpp:85:63: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[i & 1][j] = 1LL * (dp[i & 1 ^ 1][j] - dp[i & 1 ^ 1][j + 1] + MOD) * (MOD + 1 - p[i]) % MOD;
~~^~~
main.cpp:87:38: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[i & 1][j] = (dp[i & 1 ^ 1][j] - dp[i & 1 ^ 1][j + 1] + MOD) % MOD;
~~^~~
main.cpp:87:57: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[i & 1][j] = (dp[i & 1 ^ 1][j] - dp[i & 1 ^ 1][j + 1] + MOD) % MOD;
~~^~~
main.cpp:89:40: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[i & 1][r[i]] += 1LL * (dp[i & 1 ^ 1][l[i]] - dp[i & 1 ^ 1][r[i] + 1] + MOD) * p[i] % MOD;
~~^~~
main.cpp:89:62: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
dp[i & 1][r[i]] += 1LL * (dp[i & 1 ^ 1][l[i]] - dp[i & 1 ^ 1][r[i] + 1] + MOD) * p[i] % MOD;
~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2500ms | 8126kb | Time limit exceeded | 0 | 0 |
2 | 2503ms | 8126kb | Time limit exceeded | 0 |
3 | 2500ms | 8126kb | Time limit exceeded | 0 | 0 |
4 | 2501ms | 8126kb | Time limit exceeded | 0 |
5 | 2503ms | 8126kb | Time limit exceeded | 0 |
6 | 2500ms | 8126kb | Time limit exceeded | 0 |
7 | 2503ms | 9306kb | Time limit exceeded | 0 | 0 |
8 | 2503ms | 9306kb | Time limit exceeded | 0 |
9 | 2500ms | 9306kb | Time limit exceeded | 0 |
10 | 2503ms | 9306kb | Time limit exceeded | 0 |
Punctaj total | 0 |