백준 5912 Haybale Stacking 파이썬
https://www.acmicpc.net/problem/5912 5912번: Haybale Stacking Input Details There are N=7 stacks, and FJ issues K=4 instructions. The first instruction is to add a haybale to stack 5, the second is to add haybales to stacks 2..4, etc. Output Details After Bessie is finished, the stacks have heights 0,1,2,3,3,1,0. The www.acmicpc.net Haybale을 지시 대로 쌓은 뒤에 정렬했을 때 중간 값의 높이를 찾는 문제입니다. 먼저 지시가 들어올 때마다 그..