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

Автор I_AM_MOSOL, история, 2 года назад, По-английски

I've spent like 5+ hours trying to understand the editorial for this problem.

It seem's like the official editorial was not understandable in the first place?

The official editorial and jiangly's ac code is all I found.

Are there any other materials that presents this problem's solution?

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

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

things I don't understand

editorial : what does dangerous level even mean? why does this greedy work? (I have no idea)

ac code : what does function "search" do? (probably related to dangerous level?)

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

Auto comment: topic has been updated by I_AM_MOSOL (previous revision, new revision, compare).