c++蔃蒻40分求助!!呜呜呜
查看原帖
c++蔃蒻40分求助!!呜呜呜
910388
gu_moon楼主2023/5/7 17:41
#include<bits/stdc++.h>
using namespace std;
int x,y;
int main(){
	cin>>x>>y;
	cout<<__gcd(x,y)<<x*y/__gcd(x,y);
	
	return 0;    
}

Wa仨

2023/5/7 17:41
加载中...