11370 c++1 11370 : Spawn of Ungoliant (C++) 11370번: Spawn of Ungoliant The first line of an input case is of the form W H, where W is the width of the map and H is the height. The next H lines contain strings of length W specifying the layout of Mirkwood. An S character represents a spider-infested tree, and an T character re www.acmicpc.net 쉬운 내용의 BFS라서 설명없이 그냥 코드만 올림 #include #include #include #include using namespace std; int W, H; int.. 2021. 2. 27. 이전 1 다음