| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 116173 | 唐诗阳 | 两个数的最小公倍数 | C++ | Wrong Answer | 1 MS | 264 KB | 326 | 2025-04-06 15:17:04 |
#include<iostream> #include<cstdio> //scanf()\printf() #include<cstring> #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ long long a,b,n; cin>>a>>b; for(int i=b;i>=a;i++){ if(i%a==0 && i%b==0){ cout<<i; break; } } return 0; }
------Input------
50 32
------Answer-----
800
------Your output-----