Блог пользователя brave-kid

Автор brave-kid, 4 недели назад, По-английски

This submission gets Time limit Exceeded with this generated input making the complexity reach $$$O(N^2*logN)$$$:

code

But then I obviously optimized my code and made it unhackable unhackable submission

BledDest please add the hack test mentioned above in the tests of the problem

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
4 недели назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

xplain your approach boi

»
4 недели назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

Sure, added the test but with 2e5 instead of 1e5. Won't be rejudging any submissions, but all later submissions will be judged on that test.