Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
11722 lulu 质因数分解 C++ 通过 0 MS 248 KB 178 2023-03-14 21:15:17

Tests(1/1):


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


测评信息:

输入

                    

输出

                    

答案

                    

系统信息

exit code: 0, checker exit code: 0