提交时间:2024-07-17 10:47:47

运行 ID: 156368

#include<iostream> using namespace std; int n; int main(){ cin >> n; for(int i = 2; i * i <= n; i++){ if(n % i == 0){ cout << n / i << endl; break; } } return 0; }