Accepted
Code
#include <iostream>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL); cout.tie(NULL);
long long n;
int count=0;
cin >> n;
for(int i=1; i<=n; i++){
if(n % i == 0){
count++;
}
}
cout << count;
return 0;
}
Information
- Submit By
- Type
- Pretest
- Problem
- P1037 Generous CR
- Language
- C++20 (G++ 13.2.0)
- Submit At
- 2024-03-06 14:06:01
- Judged At
- 2024-11-11 03:42:06
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes