Skip to content

Commit d7fa21d

Browse files
committed
Added 935A - Fafa and his Company.cpp
1 parent a45410a commit d7fa21d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

935A - Fafa and his Company.cpp

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// ॐ नमः शिवाय
2+
#include<bits/stdc++.h>
3+
using namespace std;
4+
#define ll long long
5+
6+
// Code Written By: Vikash Patel
7+
// Codeforces Profile: https://codeforces.com/profile/vikashpatel
8+
9+
int main()
10+
{
11+
int n;
12+
cin>>n;
13+
int l = 0;
14+
for(int i=1; i<=n/2; i++)
15+
{
16+
if((n-i)%i == 0)
17+
l++;
18+
}
19+
cout<<l<<endl;
20+
return 0;
21+
}

0 commit comments

Comments
 (0)