>>> The first line of each data set contains five space separated integers. The first integer, D is the data set number. The second integer, N (2 ≤ N ≤ 1000), is the number of nodes in the graph. The third integer, E, (E ≥ 1), is the number of edges in the graph. The fourth integer, A, (0 ≤ A < N), is the index of point A. The fifth integer, B, (0 ≤ B < N, A ≠ B), is the index of point B.
데이터셋마다 5개의 정수라고 되어있지만 실제론 데이터셋 번호인 D는 들어오지 않습니다.
>>> The first line of each data set contains four space separated integers. The first integer, N (2 ≤ N ≤ 1000), is the number of nodes in the graph. The second integer, E, (E ≥ 1), is the number of edges in the graph. The third integer, A, (0 ≤ A < N), is the index of point A. The fourth integer, B, (0 ≤ B < N, A ≠ B), is the index of point B.
jhuni 2년 전
>>> The first line of each data set contains five space separated integers. The first integer, D is the data set number. The second integer, N (2 ≤ N ≤ 1000), is the number of nodes in the graph. The third integer, E, (E ≥ 1), is the number of edges in the graph. The fourth integer, A, (0 ≤ A < N), is the index of point A. The fifth integer, B, (0 ≤ B < N, A ≠ B), is the index of point B.
데이터셋마다 5개의 정수라고 되어있지만 실제론 데이터셋 번호인 D는 들어오지 않습니다.
>>> The first line of each data set contains four space separated integers. The first integer, N (2 ≤ N ≤ 1000), is the number of nodes in the graph. The second integer, E, (E ≥ 1), is the number of edges in the graph. The third integer, A, (0 ≤ A < N), is the index of point A. The fourth integer, B, (0 ≤ B < N, A ≠ B), is the index of point B.