| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 84509 | 叶城俊 | 按班分组 | C++ | Wrong Answer | 0 MS | 272 KB | 282 | 2024-07-16 09:36:00 |
# include<iostream> using namespace std; int main (){ int a,b,i=1; cin>>a>>b; if(a<b){ i = a; b=a; i = b; } i = a%b; while (i > 0){ a = b; b = i; i = a%b ; } cout<<b; return 0; }
------Input------
25 70
------Answer-----
5
------Your output-----
25