codeforces2k19's blog

By codeforces2k19, history, 5 months ago, In English,

Hello,can any one tell me where I am doing wrong in my code to solve the problem:

https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=650&page=show_problem&problem=3102

CODE:

https://rextester.com/QHGO40661

My code is failing 2 of the 53 test cases.

Tags dp, area
 
 
 
 
  • Vote: I like it
  • -3
  • Vote: I do not like it