A. Permutation Grid

Problem Name:
A. Permutation Grid
Site:AtCoder
Links:
Tags: