Please help to solve a problem Horses from IOI 2015 .

Revision en1, by Barsic, 2016-07-29 12:56:20

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.


  Rev. Lang. By When Δ Comment
en1 English Barsic 2016-07-29 12:56:20 509 Initial revision for English translation
ru1 Russian Barsic 2016-07-29 12:46:40 559 Первая редакция (опубликовано)