Borderou de evaluare (job #480487)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:33: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
rez=max(rez,dp[i-1&1][j]);
^
user.cpp:47:24: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(dp[i-1&1][poz]<=dp[i-1&1][poz2])
^
user.cpp:47:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(dp[i-1&1][poz]<=dp[i-1&1][poz2])
^
user.cpp:66:24: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(dp[i-1&1][poz]<=dp[i-1&1][poz2])
^
user.cpp:66:40: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
if(dp[i-1&1][poz]<=dp[i-1&1][poz2])
^
user.cpp:79:28: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
dp[i&1][j]=dp[i-1&1][poz];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 440kb | Incorect | 0 |
3 | 164ms | 448kb | OK | 10 |
4 | 848ms | 448kb | Incorect | 0 |
5 | 1792ms | 452kb | Incorect | 0 |
6 | 232ms | 452kb | Incorect | 0 |
7 | Depăşit | 412kb | Time limit exceeded. | 0 |
8 | 2064ms | 456kb | OK | 10 |
9 | 1696ms | 448kb | OK | 10 |
10 | 1760ms | 452kb | OK | 10 |
Punctaj total | 50 |