Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147427 孔声豪 两个数的最小公倍数 C++ Wrong Answer 1 MS 268 KB 219 2026-02-05 10:44:25

Tests(0/10):


Code:

#include <iostream> using namespace std; int main(){ int a,b,c,d,e; cin>>a>>b; c=a; d=b; while(b!=0){ c=a%b; a=b; b=c; } cout<<c*d/a<<endl; return 0; }


Run Info:

------Input------
50 32
------Answer-----
800
------Your output-----
0