| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 133324 | 李明秦 | 公约数问题 | C++ | Accepted | 1 MS | 272 KB | 204 | 2025-10-18 14:43:39 |
#include<bits/stdc++.h> using namespace std; int y(int a,int b){ if(a%b==0){ return b; }else{ return y(b,a%b); } } int main() { int x,z; cin>>x>>z; cout<<y(x,z); return 0; }