7576번 c++ (1) 썸네일형 리스트형 백준 7576번: 토마토 C++ 코드(BFS) //7576 #include #include using namespace std; int tomatoMap[1005][1005]; int m,n; int cnt = 0; struct xyLocation{ int y; int x; }; void bfs(int i[1000005], int j[1000005]){ queue qq; xyLocation temp; for(int k=0; k 이전 1 다음