[문제 링크] : https://www.acmicpc.net/problem/20055#include #include using namespace std;int Arr[201];bool Check[201];queue Q;int Ans, Start, End, T;int main(){ int N, K; cin >> N >> K; Start = 1; End = N; for(int i=1; i> Arr[i]; } while(Ans 0){ Q.push(Start); Check[Start] = true; Arr[Start]--; if(Arr[Start] == 0){ Ans+..