题解
2025-09-08 18:43:04
发布于:广东
0阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int f(int a,int b){
if(a%b==0){
return b;
}else{
return f(b,a%b);
}
};
int main() {
long long a,b;
cin >> a>>b;
cout<<(a*b)/f(a,b);
return 0;
}
这里空空如也
有帮助,赞一个