Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
68454 sh25_ganzy 质因数分解 C++ Time Limit Exceeded 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; }


Judgement Protocol: