백준 116071 11607 : Grid (C++) 11607번: Grid Each input will consist of a single test case. Note that your program may be run multiple times on different inputs. The first line of input contains two space-separated integers n and m (1≤n,m≤500), indicating the size of the grid. It is guaranteed th www.acmicpc.net 그래프문제 조아 #include #include #include using namespace std; int n, m; int map[500][500]; bool visit[500][500]; int resu.. 2021. 3. 2. 이전 1 다음