AlimA's blog

By AlimA, 14 years ago, In English

Hello everybody.

My code for problem 229A has got Time limits. My solution is completely like the authors solution, but I could not fix the problem. Can anyone help me? This is my code : CODE

  • Vote: I like it
  • +1
  • Vote: I do not like it

»
14 years ago, hide # |
 
Vote: I like it +16 Vote: I do not like it

In correct solution function MinOp() should work in O(1) time, you need some preprocessing to achieve it