Pagini recente » Borderou de evaluare (job #2655325) | Borderou de evaluare (job #1573234) | Monitorul de evaluare | Cod sursa (job #1163945) | Borderou de evaluare (job #1061681)
Borderou de evaluare (job #1061681)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:43: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
if(dp[(i&1)][j] > dp[i&1^1][j - L[k]] + P[k]) {
^
user.cpp:51:44: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
dp[(i&1)][j] = dp[i&1^1][j - L[k]] + P[k];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 796kb | Incorect | 0 |
| 2 | 4ms | 788kb | OK | 10 |
| 3 | 4ms | 800kb | OK | 10 |
| 4 | 4ms | 820kb | Incorect | 0 |
| 5 | 4ms | 896kb | OK | 10 |
| 6 | 4ms | 892kb | Incorect | 0 |
| 7 | 4ms | 832kb | Incorect | 0 |
| 8 | 8ms | 876kb | Incorect | 0 |
| 9 | 8ms | 944kb | Incorect | 0 |
| 10 | 4ms | 796kb | OK | 10 |
| Punctaj total | 40 |