| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 133321 | 李明秦 | 公约数问题 | C++ | Wrong Answer | 1 MS | 268 KB | 203 | 2025-10-18 14:42:23 |
#include<bits/stdc++.h> using namespace std; int y(int a,int b){ if(a%b==0){ return b; }else{ return (b,a%b); } } int main() { int x,z; cin>>x>>z; cout<<y(x,z); return 0; }
------Input------
374 2788
------Answer-----
34
------Your output-----
374