Run ID:7961
提交时间:2025-05-31 19:30:16
#include<iostream> using namespace std; int main(){ int a,b,c,gcd; cin>>a>>b; int tempa=a,tempb=b; c=a%b; while(c){ a=b; b=c; c=a%b; } gcd=b; cout<<tempa*tempb/gcd; return 0; }