Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
98780 | 廖宸睿 | 最大公约数(函数) | C++ | Wrong Answer | 0 MS | 272 KB | 230 | 2024-11-23 14:32:05 |
#include <iostream> #include <cstdio> using namespace std; int a(int e,int w){ return w%e; } int main() { int m,n; cin>>m>>n; cout<<a(m,n); return 0; }
------Input------
49 47
------Answer-----
1
------Your output-----
47