두 개의 map<string, int> 을 이용해서, 각 key 별로 value의 차이를 구하는 문제.
- getline, istringstream 을 사용해서 input handling
- 두 가지의 맵을 하나의 for 문에서 순회할 때, map.end 에 닿지 않게끔
strictly convex polygon
에서의 pair 간의 거리의 합이 최대가 되게 하려면 모두 교차해야한다.
- cout 소수점 자릿수 출력
- strictly convex polygon 에서 순서 부여하기
'Algorithm' 카테고리의 다른 글
| [Algorithm] Distance in set (0) | 2025.01.02 |
|---|---|
| [Algorithm] 모듈러 연산 (0) | 2023.12.17 |
| Frog Jump [26107] (1) | 2023.10.15 |