Vahagn_Grigoryan's blog

By Vahagn_Grigoryan, history, 3 years ago, In Russian

I participated in contest, and I found this problem really interesting. But, unfortunately, I couldn't solve that. Can you tell me what algorithm should I use please?

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

You could read the problem editorial here.

  • »
    »
    3 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Oh, sorry for disturbing you. I didn't noticed that. Thank you.

    • »
      »
      »
      3 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      actually you have distrubed thousands of people :)