Hello dear readers. I try to solwe a problem Horses ( ENG, RUS ) ( from IOI 2015 day 2 ).
I read the analysis from the official site , but not much in it figured out.
I would be very grateful if you will help to solve this problem . Please help to solve this problem.
Thank you very much.