The first line contains a number 1 ≤ K ≤ 100, which is the number of input data sets in the file. This is followed by K data sets of the following form:
.
입력 포맷 설명 부분에서, 위 문장이 중복 서술되어 있고 제한을 명시하는 문장이 누락되어 있습니다.
The first line of the data set contains two integers n, r, with 1 ≤ n ≤ 1000 the number of locations to fortify, and 0 ≤ r ≤ 100000 the number of roads.
pill27211 3년 전
The first line contains a number 1 ≤ K ≤ 100, which is the number of input data sets in the file. This is followed by K data sets of the following form:
.
입력 포맷 설명 부분에서, 위 문장이 중복 서술되어 있고 제한을 명시하는 문장이 누락되어 있습니다.
원문을 보면, 중복된 문장 하나가 아래처럼 수정되어야 합니다.
.
The first line of the data set contains two integers n, r, with 1 ≤ n ≤ 1000 the number of locations to fortify, and 0 ≤ r ≤ 100000 the number of roads.