일단 2294번 한다. // // main.swift // algorithm_practice // // Created by 김동환 on 2020/04/16. // Copyright © 2020 김동환. All rights reserved. // import Foundation let line = readLine() let inputs = line?.split(separator : " ") ?? [] let n = Int(inputs.first ?? "") ?? 0 let k = Int(inputs.last ?? "" ) ?? 0 var coins: [Int] = [] var answer : [Int] = [0] for _ in 0..= coin, answer[o-coin] >= 0{ candidates...