In-Out DP "Problem — 337D"

Revision en1, by user_temp, 2018-04-03 12:22:41

I was doing this question 337-D but couldn't get it accepted, Can anyone please look at the code and tell me what error am I making, Yes, I've looked at Rachit Jain video. Submission — http://codeforces.net/contest/337/submission/36897531

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English user_temp 2018-04-03 12:25:24 27
en3 English user_temp 2018-04-03 12:24:17 12
en2 English user_temp 2018-04-03 12:23:38 66
en1 English user_temp 2018-04-03 12:22:41 273 Initial revision (published)