爸爸才没有那么老实去写高精度
1 2 3 4 5 6 7 |
a,b=input(),input() c=a%b while c!=0L: a=b b=c c=a%b print b |
Welcome to XuYike's Weblog
爸爸才没有那么老实去写高精度
1 2 3 4 5 6 7 |
a,b=input(),input() c=a%b while c!=0L: a=b b=c c=a%b print b |