문제 : 거스름돈을 최소 개수로 되돌려 줄 때 필요한 거스름돈 수 거스름돈은 5만원부터 10원까지 있음. 제약 사항 : 입력하는 돈 N은 10~1,000,000이하의 정수, N의 마지막 자릿수는 항상 0 코드 #include #include int main(void){ int i, j, n, testCase; int money [8] = {50000, 10000, 5000, 1000, 500, 100, 50, 10}; int **answer; scanf("%d", &testCase); answer = (int**)malloc(sizeof(int*)*testCase); for(i=0; i