19 December 2019

Educational Codeforces Round 78 (Div. 2) Postmortem

Link to contest.

What went well
  • I got A in 3 minutes.
What went poorly
  • I wasn't sure how to prove B during the contest. Then I decided to binary search when a linear search would have run in time. However, I had a bug in my binary search because I needed to look at particular residues mod 4, which required extra debugging to get right. All this took…1.5 hours.
  • I was completely wrong for C because I didn't realize that not all larger subarrays may work.
Where I got lucky
  • Apparently I probably won't lose too much elo.

No comments:

Post a Comment