Wrong Answer
Code
#include <iostream>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL); cout.tie(NULL);
int count = 0;
long long n;
cin >> n;
for (long long i = 1; i * i <= n; ++i) {
if (n % i == 0) {
count++;
if (i != n / i) {
count++;
}
}
}
cout << count;
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1037 Generous CR
- Contest
- Brain booster #2
- Language
- C++20 (G++ 13.2.0)
- Submit At
- 2024-03-06 14:01:43
- Judged At
- 2024-11-11 03:42:07
- Judged By
- Score
- 0
- Total Time
- 1ms
- Peak Memory
- 532.0 KiB