last.winged.hussar's blog

By last.winged.hussar, history, 3 years ago, In English

Hello everyone, I tried to solve this problem, but my iterative solution is not working. Basically I try to use the same logic as the problem author, but it fails on case #11. I will be thankful to you all if you can help!

My solution