Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
163956 冉骏杰 按班分组 C++ Accepted 1 MS 272 KB 173 2026-10-31 15:31:50

Tests(10/10):


Code:

#include<iostream> using namespace std; long long a,b,c =1,g; int main() { cin>>a>>b; while(a%b!=0){ int d = a; a = b; b = d%b; } cout<<b; return 0; }