MCPcopy Create free account
hub / github.com/E869120/math-algorithm-book / main

Function main

codes/cpp/Code_3_01_3.cpp:4–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2using namespace std;
3
4int main() {
5 long long N;
6 cin >> N;
7 for (long long i = 1; i * i <= N; i++) {
8 if (N % i != 0) continue;
9 cout << i << endl; // i ��񐔂ɒlj�
10 if (i != N / i) {
11 cout << N / i << endl; // i �� N/i �̂Ƃ��AN/i ���񐔂ɒlj�
12 }
13 }
14 return 0;
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected