You are viewing a single comment's thread. Return to all comments →
How did you arrive at: dp[i][j] = (dp[i-1][j]((cnt[i]+2)/2) + dp[i-1][j^(i+3500)]((cnt[i]+1)/2) ) % M ;
I can't understand it?
Seems like cookies are disabled on this browser, please enable them to open this website
Prime XOR
You are viewing a single comment's thread. Return to all comments →
How did you arrive at: dp[i][j] = (dp[i-1][j]((cnt[i]+2)/2) + dp[i-1][j^(i+3500)]((cnt[i]+1)/2) ) % M ;
I can't understand it?