Run ID:96681
提交时间:2024-11-09 11:50:01
#include <iostream> using namespace std; int main(){ int a,b,yushu; cin>>a>>b; yushu = a%b; while(yushu != 0){ a = b; b = yushu; } cout<<b; }