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

Автор P___, история, 9 лет назад, По-английски

Hi,

Since nobody has mentioned this SRM, I do that here:

Time.

I am not the author, just want to increase the number of participants.

Thanks!

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

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

Can anyone tell me what can be done when the applet says "A connection to the server cannot be established" when I try to login? I tried autodetect, it doesn't work. It was working well a few weeks back.

»
9 лет назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +11 Проголосовать: не нравится

Thank you so much for posting this! I always miss SRMs, and finally get to compete in one. GLHF everyone!

»
9 лет назад, скрыть # |
 
Проголосовать: нравится +38 Проголосовать: не нравится

Does anyone have proved solution for 1000?

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

How to solve medium? (I have O(k3) with small constant which gets AC in 1.6s)

»
9 лет назад, скрыть # |
 
Проголосовать: нравится +25 Проголосовать: не нравится

About Div1 Hard.

My solution was to look at only Pareto-optimal choices. First, we sort the friends by decreasing number of bits set. After that, we recursively pick or kick them in that order. The single important check which makes it run faster than like 2568 is as follows: if we kick a friend X, we also have to kick all further friends which have a subset of X's skills (otherwise, the choice wouldn't be Pareto-optimal).

In practice run, this takes <100ms on all the given tests. Can someone please either construct a test where this becomes slow, or prove a reasonable asymptotic bound for the number of Pareto-optimal choices?

»
9 лет назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

how to solve div2b