#2415. 区间最大公约数2
区间最大公约数2
Background
Special for beginners, ^_^
Description
给出合法闭区间 ,在里面任选两个整数 和 ,求 。
Format
Input
本题每个测试点包含多(不超过10000)组数据。
每行两个不超过 的相异正整数 和 直到输入结束。
Output
每行输出一个答案。
Samples
2 4
1
Limitation
1s, 1024KiB for each test case.
相关
在下列比赛中: