Блог пользователя Vahagn_Grigoryan

Автор Vahagn_Grigoryan, история, 3 года назад, По-русски

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?

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

You could read the problem editorial here.