Run ID:95395

提交时间:2024-10-27 14:27:35

#include<bits/stdc++.h> using namespace std; int main(){ int n,m,c=1; cin>>n>>m; while(true){ if(c % n == 0 && c % m==0){ break; } c++; } cout<<c; return 0; }