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

Автор omsincoconut, 9 часов назад, По-английски
Rating predictions

2261A - Hey, It's Me, Souvlakity

Author: SpyrosAliv
Preparation, Editorial: Marszpace

Hint 1
Hint 2
Solution
Code
Rate The Problem!

2261B - What's the Capital of France?

Author, Preparation, Editorial: omsincoconut

Hint 1
Hint 2
Hint 3
Solution
Code
Rate The Problem!

2261C - I Know About a Million Things

Author, Preparation, Editorial: Marszpace

Hint 1
Hint 2
Hint 3
Solution
Code (C++)
Rate The Problem!

2261D1 - Come Be My Friend, Don't Be So Scared (Easy Version)

Author, Preparation: omsincoconut Editorial:Proof_by_QED

Hint 1
Hint 2
Solution
Code
Rate The Problem!

2261D2 - Come Be My Friend, Don't Be So Scared (Hard Version)

Author, Preparation: omsincoconut Editorial:Proof_by_QED

Hint 1
Hint 2
Hint 3
Solution
Code
Rate The Problem!

2261E - What Does the Cow Say?

Author, Preparation, Editorial: yse

Hint 1
Hint 2
Solution
Code (C++)
Rate The Problem!

2261F1 - Plegma II: Ask Me Any Cell (Easy Version)

Author, Preparation, Editorial: SpyrosAliv

Hint 1
Hint 2
Solution
Code
Rate The Problem!

2261F2 - Plegma II: Ask Me Any Cell (Hard Version)

Author, Preparation, Editorial: SpyrosAliv

Hint 1
Hint 2
Solution
Code
Rate The Problem!

2261G - 1 2 3 and XOR, Where Did Everybody Go?

Author, Preparation, Editorial: chromate00

Hint 1
Hint 2
Hint 3
Solution
Code
Rate The Problem!

2261H - Oh Tree Tree Tree, No Need to Leave

Author & Editorial: SpyrosAliv
Preparation: SpyrosAliv & ttamx

Hint 1
Hint 2
Solution
Code
Rate The Problem!
  • Проголосовать: нравится
  • +48
  • Проголосовать: не нравится

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

In Problem D1 idk why i was trying to find the most optimal answer so bad that even though i got the solution, i was thinking that my solution is wrong and there must be a smaller number of sensor possible.

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

    i actually found the (n+2)/2 but didn't realise that i can get (n+1)/2. i realised that it is close to n/2. my pattern was correct but just 1 gap difference. was quite sad

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

Turtle speed editorial :O

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

I solved E like this, im trying to merge some run with some another run (of left brackets from left to right.) I keep a prefix sum of gain in longest length if i merge some runs (length of left run + length of right run — number of right brackets in between), then I use sparsetable to query the best answer for each run of left brackets building leftwards and I handle the first run of brackets differently since you dont lose a left bracket from an operation

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

I solved G without trie or any data structures: 395029892

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

F1 can be solved with backtracking 395018997

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

G best 800 SkyMagic speaks the truth

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

On E, it is cool to think of the string as euler tour of the tree. Operation is then removing the leaf and creating new root for the tree.