Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69479 邓嘉瑶 按班分组 C++ Accepted 1 MS 272 KB 166 2024-04-05 11:31:18

Tests(10/10):


Code:

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