Borderou de evaluare (job #2021163)

Utilizator pas.andreiPopovici Andrei-Sorin pas.andrei Data 12 septembrie 2017 19:38:10
Problema Poly Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:34: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] dp[i&1][j]=max(dp[i&1][j],dp[i&1^1][j]); ^ user.cpp:32:41: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] dp[i&1][mask]=max(dp[i&1][mask],dp[i&1^1][j]+1); ^ user.cpp:17:12: warning: variable ‘best’ set but not used [-Wunused-but-set-variable] int n,i,j,best,mask,ans=0,x; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK10
20ms440kbOK10
30ms440kbOK10
40ms444kbOK10
532ms444kbOK10
628ms444kbOK10
732ms444kbOK10
828ms444kbOK10
932ms444kbOK10
1028ms444kbOK10
Punctaj total100

Ceva nu functioneaza?