Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69485 何冠宇 按班分组 C++ Accepted 1 MS 272 KB 165 2024-04-05 11:34:51

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a>>b; while(a%b!=0){ int y=a%b; a=b; b=y; } cout<<b; return 0; }