通过时间:2019.7.25
测评地址:https://www.luogu.org/problem/P1075
评测详情:https://www.luogu.org/record/21546694
编程语言:C++
代码长度:203 B
用时:25 ms
内存:852.00 KB
一道水题。
#include<bits/stdc++.h>
using namespace std;
int main(){
long long n;
cin>>n;
for(long long i=2;i<n;i++)
if(n%i==0){
cout<<n/i;
return 0;
}
}