Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
146142 王晏林 按班分组 C++ Accepted 0 MS 272 KB 157 2026-01-27 11:09:01

Tests(10/10):


Code:

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