提交时间:2024-11-08 18:02:27
运行 ID: 55987
#include<iostream> #include<algorithm> using namespace std; int main(){ int a,b; cin>>a>>b; int m=gcd(a,b); int n=a*b/m; cout<<m<<n; return 0; }