Please read the new rule regarding the restriction on the use of AI tools. ×

Wansur's blog

By Wansur, history, 31 hour(s) ago, translation, In English

2013A — Zhan's Blender

First to solve: rob00

Solution
Code

2013B — Battle For Survive

First to solve: neal

Solution
Code

2013C — Password Cracking

First to solve: Pagode_Paiva

Solution
Code

2013D — Minimize the Difference

First to solve: edogawa_something

Solution
Code

2013E — Prefix GCD

First to solve: meme

Solution
Code

2013F1 — Game in Tree (Easy Version)

First to solve: EnofTaiPeople

Solution
Code with segment tree
Code in O(n)

2013F2 — Game in Tree (Hard Version)

First to solve: rainboy

Solution
Code
  • Vote: I like it
  • +13
  • Vote: I do not like it

»
100 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

Problem E originally meant a solution without a gready, but what are rich in :)

And in F you need to separately figure out when the first / second player wins if he starts at his top, because otherwise it hurts a lot)