Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150152 卢语宸 按班分组 C++ Accepted 1 MS 272 KB 199 2026-03-22 14:38:41

Tests(10/10):


Code:

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