컴퓨터공학 기초/문제 풀이
COINS - Coin Change
MAX_COUNT) System.out.println(ans % MAX_COUNT); else System.out.println(ans); } } long dynamic() { for (int i = 0; i cost) break; dTable[coin]++; for (int j = 1; coin + j
MAX_COUNT) System.out.println(ans % MAX_COUNT); else System.out.println(ans); } } long dynamic() { for (int i = 0; i cost) break; dTable[coin]++; for (int j = 1; coin + j