BledDest's blog

By BledDest, 5 hours ago, translation, In English

2260A - Monocarp's Contest

Tutorial
Solution

2260B - Monocarp and Projects

Tutorial
Solution

2260C - Maximize XOR, Minimize Operations

Tutorial
Solution

2260D - Signs of Prefix Sums

Tutorial
Solution

2260E - Cyclic Balance

Tutorial
Solution

2260F - Edge Three-Coloring

Tutorial
Solution

2260G - Sortable Permutations

Tutorial
Solution
  • Vote: I like it
  • +10
  • Vote: I do not like it

»
2 hours ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

The tutorials for problems will be available in a few minutes.

»
2 hours ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

B felt like a bullet stuck in the ribs, nor does in come out nor was it blocked, felt suffocated!

»
2 hours ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

A — easy, B, C literally 1500

»
2 hours ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

I guess I shall improve my implementation skills now, as I got WA on #2 5 times during contest while getting AC only require changing a few chars (my specific implementation was inferior to the official solution that made debugging harder, though). Submission: 389954784.

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

Solution to E without using binary search 389952685

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

I was close to solving D , just kept trying to find a arrangement of the prefix that is optimal by considering block interval sizes (if its odd , then it can have 1 , 1 on the ends optimal).

figured prefix would only take value between [-2 , 2] .

»
111 minutes ago, hide # |
Rev. 2  
Vote: I like it 0 Vote: I do not like it

Good contest, tho I couldn't solve C. I found the obervation where we need $$$x$$$ $$$AND$$$ $$$y$$$ $$$=$$$ $$$0$$$ but I couldn't do anything further

»
86 minutes ago, hide # |
 
Vote: I like it +2 Vote: I do not like it

It seems that I was able to somehow find all the possible cases and ended up just if-else my solution for D, submission — https://codeforces.me/contest/2260/submission/389959167