Codeforces Round #731 (Div. 3)

A. Shortest Path with Obstacle

B. Alphabetical Strings

C. Pair Programming

D. Co-growing Sequence

D的题意是通过下面的图推出来的