Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135570 张咏灏 两个数的最小公倍数 C++ Wrong Answer 1 MS 272 KB 161 2025-11-05 20:14:22

Tests(0/10):


Code:

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


Run Info:

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