#SDNU1681. easy problem Ⅱ
easy problem Ⅱ
Description
请计算对于给出的,与的最大公约数。 多组测试用例
Format
Input
两个整数
Output
与的最大公约数,保证结果不超过
Samples
1 2
1
请计算对于给出的N,M,2N−1与2M−1的最大公约数。 多组测试用例
两个整数N,M (1≤N,M≤100)
2N−1与2M−1的最大公约数,保证结果不超过263−1
1 2
1
By signing up a GENESIS universal account, you can submit code and join discussions in all online judging services provided by us.