입니다. 즉 자연수 N 하나를 입력받아 정수 하나를 출력하는 형식이고, 예시도 이와 같습니다.
하지만 원문 (영어)에서는
입력
Your program is to read from standard input. The input consists of T test cases. The number of test cases T is given in the first line of the input. Each test case takes one line containing an integer N, 1 ≤ N ≤ 100,000.
출력
Your program is to write to standard output. Print exactly one line for each test case. The line is to contain a generator of N for each test case. If N has multiple generators, print the smallest. If N does not have any generators, print 0.
입니다. 즉 test case의 개수 T를 먼저 입력받고, 그 횟수만큼 자연수 N을 입력받아 각각에 해당하는 정수를 출력하는 것으로 적혀있습니다. 더구나 N의 범위도 서로 다릅니다.
thenitromefan 9년 전 1
한국어로 번역된 입출력 형식은
입력
첫째 줄에 자연수 N(1≤N≤1,000,000)이 주어진다.
출력
첫째 줄에 답을 출력한다. 생성자가 없는 경우에는 0을 출력한다.
입니다. 즉 자연수 N 하나를 입력받아 정수 하나를 출력하는 형식이고, 예시도 이와 같습니다.
하지만 원문 (영어)에서는
입력
Your program is to read from standard input. The input consists of T test cases. The number of test cases T is given in the first line of the input. Each test case takes one line containing an integer N, 1 ≤ N ≤ 100,000.
출력
Your program is to write to standard output. Print exactly one line for each test case. The line is to contain a generator of N for each test case. If N has multiple generators, print the smallest. If N does not have any generators, print 0.
입니다. 즉 test case의 개수 T를 먼저 입력받고, 그 횟수만큼 자연수 N을 입력받아 각각에 해당하는 정수를 출력하는 것으로 적혀있습니다. 더구나 N의 범위도 서로 다릅니다.