Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69490 邓嘉懿 按班分组 C++ Accepted 1 MS 276 KB 157 2024-04-05 11:37:43

Tests(10/10):


Code:

#include<iostream> 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; }