#P288. 【例47.3】 最大公约数
【例47.3】 最大公约数
Description
Given two positive integers, find their greatest common divisor (GCD).
Input Format
The first line contains an integer (), indicating the number of test cases.
Each of the following lines contains two integers and ().
Output Format
Output the greatest common divisor for each test case.
Sample
3
6 6
12 11
33 226
1
11