Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85380 叶城俊 两个数的最小公倍数 C++ Accepted 1 MS 276 KB 244 2024-07-17 11:16:21

Tests(10/10):


Code:

# include<iostream> using namespace std; int main (){ int a,b,i=1; cin>>a>>b; while(1){ if(i%a == 0 && i%b == 0){ cout<<i<<endl; break; } i++; } return 0; }