Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
68454 sh25_ganzy 质因数分解 C++ 运行超时 1000 MS 252 KB 232 2025-10-04 13:05:24

Tests(9/10):


#include<bits/stdc++.h> using namespace std; int main(){ long long n; cin>>n; for(long long p=sqrt(n)+1;p<=n/2;p++){ if(n%p==0){ cout<<p; break; } } return 0; }


测评信息: