Help needed in december cook-off problem

Правка en2, от shubhamgoyal__, 2016-12-26 14:41:31

Can someone please help me out with this problem.
problem link
I saw a few accepted solutions and I'm guessing that the expected complexity is n*sqrt(n).

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский shubhamgoyal__ 2016-12-26 14:41:31 39 Tiny change: 'ms/CHEFINS<br>\nI saw a ' -> 'ms/CHEFINS\nI saw a '
en1 Английский shubhamgoyal__ 2016-12-26 14:06:05 256 Initial revision (published)