Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
68455 sh25_ganzy 质因数分解 C++ 通过 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; }


测评信息: