167691 [BAEKJOON]16769 Mixing Milk 문제 요약 알고리즘 분류: 구현, 시뮬레이션 난이도: Bronze2 문제내용: 3개 컵이있고 각 컵에 우유가 들어 있다. 옆 컵에 우유를 붓는다. 우유 부을 때 가득 찰 거 같으면 가득 찰 때까지만 부으면 된다.(맨 끝일 경우 맨 앞에 우유를 붓는다.) 위 과정을 100번 한 후 각 컵에 우유량을 출력해라. 사이트: https://www.acmicpc.net/problem/16769 16769번: Mixing Milk The first line of the input file contains two space-separated integers: the capacity $c_1$ of the first bucket, and the amount of milk $m_1$ in the first bucket.. 2024. 1. 10. 이전 1 다음