Cross Country Skiing1 [BOJ] 9879 : Cross Country Skiing 문제 링크 https://www.acmicpc.net/problem/9879 9879번: Cross Country Skiing The cross-country skiing course at the winter Moolympics is described by an M x N grid of elevations (1 N >> M; int L = INF; int R = -1; for (int i = 0; i Map[i][j]; L = min(Map[i][j], L); R = max(Map[i][j], R); } } for (int i = 0; i num; if (num == 1) { waypoints.push_back({ i,j }); is_waypoint[i][j] = true; } } } R = R - L;.. 2022. 5. 3. 이전 1 다음