Codeforces Round #676 (Div. 2)

2020/10/20

Had to perform better than last round to increase the rating again but started thinking in wrong direction for problem D, but solved it afterwards without editorials and easy to come up with solution. So I had to get this analysis out of the way before tonight’s Div.3 round. Contest was easy enough till D. I’m still not able to understand how I will approach problem E, it will be a blog in itself when I understand that.

Solved during contest

A. XORwice

B. Putting Bricks on the wall

C. Palindromifier

Solved after contest

D. Hexagons

E. Swedish Heroes

dp[prefix len][(len+negatives)%3][valid or invalid solution]