시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 | 128 MB | 109 | 51 | 41 | 56.164% |
Write a program to find the max GCD (greatest common divisor) among any pairs of the input integers.
The input contains positive integers, greater than zero and less than 1 million. The input may include at most 100 integers.
Print out the max value of GCD of any pairs.
5 30 18 34 50 1 2 90 100 201 10347
50
ICPC > Regionals > Asia Pacific > Thailand > Thailand Southern Programming Contest > Thailand Southern Programming Contest 2013 PA번