Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
23429 yihang 质因数分解 C++ 运行超时 1000 MS 240 KB 178 2023-07-15 14:53:31

Tests(1/10):


#include"bits/stdc++.h" using namespace std; int main(){ int n,ans=0; cin>>n; for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ if(i*j==n)ans=max(i,j); }} cout<<ans; }


测评信息: