A. AquaMoon and Strange Sort (00:06, +)
방향을 유지하며 이동하려면 짝수 칸만큼 이동해야 한다. 따라서 본인이 있던 칸과의 홀짝성은 변하지 않고, 정렬 후에도 홀짝성이 변하지 않으면 가능하다.
'PS > CP' 카테고리의 다른 글
Educational Codeforces Round 90 (Rated for Div. 2) (0) | 2021.07.23 |
---|---|
Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) (0) | 2021.07.23 |
Educational Codeforces Round 109 (Rated for Div. 2) (0) | 2021.07.23 |
Educational Codeforces Round 110 (Rated for Div. 2) (0) | 2021.07.23 |
Codeforces Round #730 (Div. 2) (0) | 2021.07.23 |