경로찾기

알고리즘 문제 풀이/1DP_과제(~180615)

171102_11403_경로찾기

#include #include using namespace std; bool G[102][102]; int find(int start, int end, int N) { bool visited[102] = { 0 }; queue q; q.push(start); int next; int now = q.front(); while (!q.empty()) { now = q.front(); q.pop(); for (int i = 1; i > N; input_G(N); for (int i = 1; i

bong sue
'경로찾기' 태그의 글 목록