How to solve this Question

Правка en1, от root8950, 2016-03-13 20:08:49

I am unable to find approach to this question. https://www.codechef.com/IOPC2016/problems/IOPC16Q The contest is over and there is no editorial. Anybody having idea how to solve it?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский root8950 2016-03-13 20:08:49 208 Initial revision (published)