'commit'
This commit is contained in:
14
TangDou/LuoGuBook/P1075_1.cpp
Normal file
14
TangDou/LuoGuBook/P1075_1.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int n;
|
||||
cin >> n;
|
||||
for (int i = 2; i <= n / i; i++)
|
||||
if (n % i == 0) {
|
||||
cout << n / i << endl;
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user