AlimA's blog

By AlimA, 12 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

»
12 years ago, # |
  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

  • »
    »
    12 years ago, # ^ |
      Vote: I like it +2 Vote: I do not like it

    Oh you are right. Thank you very much!