0?
查看原帖
0?
745970
linjunye楼主2023/3/27 12:43
//#include<bits/stdc++.h>
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
	long long x,y;
	cin>>x>>y;
	if(x==y){cout<<x;return 0;}
	long long ans=x/__gcd(x,y)*y;
	cout<<ans<<endl;
}
2023/3/27 12:43
加载中...