Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

How to solve Problem G from Codeforces Round 513?

Правка en1, от squarepants, 2020-05-25 19:08:36

Problem Link

I couldn't find the link for editorial of that contest. I came up with some $$$\mathcal{O}(n^2)$$$ solution but couldn't improve it any further.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский squarepants 2020-05-25 19:08:36 254 Initial revision (published)