Rosetta Problems

Counting Shortest Paths

https://atcoder.jp/contests/abc319/tasks/abc319_g