omsincoconut's blog

By omsincoconut, 8 hours ago, In English
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!
  • Vote: I like it
  • +37
  • Vote: I do not like it

»
35 minutes ago, hide # |
 
Vote: I like it +1 Vote: I do not like it

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.

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

Turtle speed editorial :O

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

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

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

I solved G without trie or any data structures: 395029892