Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147428 余建成 两个数的最小公倍数 C++ Compile Error 0 MS 0 KB 207 2026-02-05 10:45:58

Tests(0/0):


Code:

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


Run Info:

Main.cc:1:18: warning: extra tokens at end of #include directive
 #include#include
                  ^
Main.cc:1:35: fatal error: iotream: No such file or directory
 #include#include
                                   ^
compilation terminated.