[백준/BOJ] 백준 17979번 : What’s Mine is Mine
www.acmicpc.net/problem/17979 17979번: What’s Mine is Mine Your program is to read from standard input. The input starts with a line containing two integers, m and n (1 ≤ m ≤ 100, 1 ≤ n ≤ 10,000), where m is the number of types of minerals and n is the number of ore occurrences during the day. The mineral www.acmicpc.net 광물 채굴 시간이 빠른 순서로 정렬한 뒤, 이전에 고른 광물이 before_selected 일 때, 고를 수 있는 광물 중 최대 수익을 ..
2020.11.05