WorldWarV's blog

By WorldWarV, history, 46 minutes ago, In English

Thanks for participating in Codeforces Round 1122 (Div. 3)!

Rate the contest!

2266A - Good Contest

Hint
Solution
Code (C++)
Rate the problem!

2266B - Three Piles

Hint 1
Hint 2
Solution
Code (C++)
Rate the problem!

2266C - AND, OR, Sort!

Hint 1
Hint 2
Solution
Code (C++)
Rate the problem!

2266D - Falling Concrete

Hint 1
Hint 2
Solution
Code (C++)
Rate the problem!

2266E - Prime Destruction

Hint
Solution
Bonus
Code (C++)
Rate the problem!

2266F - MEX Replacement

Hint 1
Hint 2
Hint 3
Solution
Bonus
Bonus Answer
Code (C++)
Rate the problem!

2266G - Modular Tree

Hint 1
Hint 2
Hint 3
Solution
Code (C++)
Rate the problem!

2266H - Deque Malfunction

Hint 1
Hint 2
Hint 3
Hint 4
Solution
Implementation 1: Lazy Segment Tree
Code (Lazy Segment Tree)
Implementation 2: Amortized Set Deletion
Code (Amortized Set Deletion)
Rate the problem!
  • Vote: I like it
  • +9
  • Vote: I do not like it

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

Update the announcement :3

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

all the code sections are empty. are you waiting until after the hacking, or is this a mistake?

»
32 minutes ago, hide # |
 
Vote: I like it +4 Vote: I do not like it

Sigma round, loved so much. But not C >:(

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

For H, instead of a segtree, we can use a BIT for easier implementation: https://codeforces.me/contest/2266/submission/391534225 Finding maximum over (t,m] is the same as finding maximum on (0,m-t]