Can anyone who solved this problem explain how to solve subtask 2 and full solution please ? https://oj.uz/problem/view/BOI17_catinatree
Can anyone who solved this problem explain how to solve subtask 2 and full solution please ? https://oj.uz/problem/view/BOI17_catinatree
I was trying to solve this problem and this is my AC code. I then found This short solution written by some user. Can anyone explain what it does and why is it correct?
I am stuck on this problem 1181D - Irrigation I can't understand its editorial.Can somebody explain the solution in more details ? thanks !
Any hints to solve this problem ?abc128_f
I had a little bit of trouble solving this problem 455A - Boredom so I want to train more on this type of problems so could you suggest to me some problems using same / similar (dp) principle ?