Can you help me find the solution to the Russian Olympiad in Informatics (2016) question?

Правка en1, от matrix191943, 2024-08-10 09:40:28

You can watch the questions here.It was one of the questions in our school question bank and I tried to solve it, but unluckily that I didn't know how. Can you help me find the official solution to this problem (or this contest)? Thank you!

Sorry, my English isn't very good.:<

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский matrix191943 2024-08-10 09:40:28 410 Initial revision (published)