- [柳泉中学,龙凤苑中学]拔高班第三次训练
最小公倍数
- @ 2025-3-18 17:10:06
#include<bits/stdc++.h>
using namespace std;
long long a,b;
long long ans;
signed main(){
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
cin>>a>>b;
cout<<(a*b)/__gcd(a,b);
return 0;
}
0 comments
No comments so far...