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

Автор greateric, история, 3 месяца назад, По-английски

I'm writing this while there's a tornado warning at Purdue but I refuse to die until I reach orange

Wanted to share an idea that comes up reasonably often in my opinion. Essentially, you can take advantage of some property of the minimum or maximum of an array or some other structure to construct/calculate the answer starting from there.

2129B/2130D — Difficulty: 1600

Hint 1
Hint 2
Hint 3
Answer

2067D — Difficulty: 1900

Hint 1
Hint 2
Hint 3
Hint 4
Hint 5
Hint 6
Hint 7
Answer

1852B/1853D — Difficulty: 1800 on CF, 2000 on CList, definitely feels more like a 2000 to me

Hint 1
Hint 2
Hint 3
Hint 4
Hint 5
Hint 6
Answer

2234E (just 2 contests ago!) — Difficulty: 2100

Hint 1
Hint 2
Hint 3
Hint 4
Hint 5
Hint 6
Answer

How do I get better at spotting this?

Probably just practice! You'll start to remember to think about it more often and start seeing the patterns like this one.

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

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

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

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

With your recent performance, you'll hit orange in no time. It was nice knowing you!

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

How long have you been doing competitive programming for ?