d댕청하게 n 번동안 정렬 하고 바꾼게 n번 insert하기 해서 망함 ㅎ; insert생각하면 당연히 시간복잡도가 n인데 ㅎㅎ;;;; MOD 음수 생각 안했다가 컷당함 ... ㅎ https://www.acmicpc.net/problem/9209 9209번: The King of the North The input is given in the form of the (rectangular) strategic map which your advisors came up with. Every square in map is assigned a number of bannermen which would be required to defend the position against any potential army. Th..