| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 58081 | 还有库库 | 分田地 | C++ | Accepted | 0 MS | 244 KB | 167 | 2024-12-04 16:40:00 |
#include<iostream> #include<algorithm> using namespace std; int main() { int m,n,a,cnt=0; cin>>m>>n; a=__gcd(m,n); int s=m*n/a/a; cout<<s; return 0; }