[문제 링크] : https://www.acmicpc.net/problem/5427#include #include using namespace std;int T, W, H;char Arr[1001][1001];queue> S, Q;int Dir[4][2] = {{-1, 0}, {1, 0}, {0, -1}, {0, 1}};void setting(){ for(int i=0; i= H || nx = W){ continue; } if(Arr[ny][nx] != '.'){ continue; } Arr[ny][nx] = '*'; ..