挺简单的 #include <bits/stdc++.h> using namespace std; int a,b,c; int main(){ cin>>a>>b>>c; for(int i=1;i<=a*b*c;i++){ if(i%a==0&&i%b==0&&i%c==0){ cout<<i<<endl; break; } } return 0; }
By signing up a 羽润编程 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 羽润编程 universal account