Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
68455 sh25_ganzy 质因数分解 C++ Accepted 1 MS 252 KB 230 2025-10-04 13:10:15

Tests(10/10):


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


Judgement Protocol: