Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
33332 | lnx | 求两个数的最大公约数 | C++ | Accepted | 0 MS | 244 KB | 150 | 2023-12-08 19:01:14 |
#include<iostream> #include<algorithm> using namespace std; int main() { int m,n,a,cnt=0; cin>>m>>n; a=__gcd(m,n); cout<<a; return 0; }