Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
83093 sh25_shengmy 最大公约数、最小公倍数 C++ 通过 0 MS 252 KB 165 2026-01-22 19:35:57

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int h,j; cin>>h; cin>>j; int w=__gcd(h,j); cout<<w<<","<<h*j/w; return 0; }


测评信息: