A~B는 따로 쓰지 않겠다.
C. Reorder Cards (00:07, +) *481
2차원으로 들어오는 점들을 좌표압축 해주면 된다.
D. Takahashi Tour (00:13, +) *710
기본 DFS 문제다.. 이게 왜 D인지도 모르겠다.
E. Stronger Takahashi (00:55, +) *1423
https://www.acmicpc.net/problem/15944의 하위호환이다.
펀치 횟수를 1 증가시키며 BFS를 돌려주면 된다.
'PS > CP' 카테고리의 다른 글
Codeforces Round #738 (Div. 2) (0) | 2021.08.22 |
---|---|
Codeforces Round #737 (Div. 2) (0) | 2021.08.11 |
Educational Codeforces Round 79 (Rated for Div. 2) (0) | 2021.08.05 |
Educational Codeforces Round 82 (Rated for Div. 2) (0) | 2021.08.05 |
Educational Codeforces Round 83 (Rated for Div. 2) (0) | 2021.08.05 |