Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
87761 Kevin 两个数的最小公倍数 C++ Accepted 1 MS 272 KB 190 2024-08-14 15:21:02

Tests(10/10):


Code:

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