Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
56017 | luchenhao2024 | 求最大公约数问题 | C++ | Accepted | 0 MS | 240 KB | 148 | 2024-11-08 19:28:39 |
#include<bits/stdc++.h> #include<algorithm> using namespace std; int main(){ int a,b; cin>>a>>b; cout<<__gcd(a,b); return 0; }