更难的都不会做了只能做简单的 #include <bits/stdc++.h>
using namespace std;
using ll =long long;
//ll gcd (ll a, ll b){ // return b==0 ? a: gcd(b, a%b); // //} int main() { ll a ,b; cin >>a>>b; cout << a/ __gcd( a, b) *b;//使用 c++自带的方法 __gcb
}
By signing up a DashOJ universal account, you can submit code and join discussions in all online judging services provided by us.
Using your DashOJ universal account