Блог пользователя potatoArmy

Автор potatoArmy, история, 3 часа назад, По-английски

Problem 1: 2263C1 - Floor of MEX (Easy Version)

$$$O(n^2)$$$ solution: 390532511

Code

kondasujay2 CutSandstone sukon

Problem 2: 2269C - K Is Important

$$$O(n^2)$$$ solution: 392233470

Code

Hamed_Ghaffari sweetweasel eren__ _R00T

The reason? Because of $$$n \le 10^5$$$, not $$$2 \cdot 10^5$$$, PLEASE all future authors use $$$n \le 2 \cdot 10^5$$$ PLEASE

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

»
2 часа назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Are these really n^2 if the first one ran in 46ms? Also killing brute / heuristic solutions I think is a part of the testing process. I gave up and tried to submit an AVX solution to d1C this morning and it made it to pretest 11 but died then

  • »
    »
    105 минут назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    the first one ran in 46ms, but the max test case could be up to >1500ms https://codeforces.me/blog/entry/156688#comment-1392295

»
115 минут назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Not crazy enough. Just watch this, We can solve *3100 in $$$O(n^2)$$$ with AVX.