문제 링크입니다: https://www.acmicpc.net/problem/5205
5205번: School Colors
For each data set, first output “Data Set x:” on a line by itself, where x is its number. Then, output the pair of colors having largest possible contrast. If there are multiple pairs achieving largest contrast, output all of them, sorted by increasing
www.acmicpc.net
생각보다 코드가 길어진 문제였습니다.
개발환경:Visual Studio 2017
지적, 조언, 질문 환영입니다! 댓글 남겨주세요~
반응형
'알고리즘 > BOJ' 카테고리의 다른 글
백준 5220번 Error Detection (0) | 2021.05.19 |
---|---|
백준 5217번 쌍의 합 (0) | 2021.05.19 |
백준 5101번 Sequences (0) | 2021.05.19 |
백준 5086번 배수와 약수 (0) | 2021.05.19 |
백준 5074번 When Do We Finish? (0) | 2021.05.18 |