Solution to the problem number 935A of Codeforces - 935A.

Any questions do not hesitate to contact.

#include <bits/stdc++.h>
#define INF 0x3F3F3F3F
using namespace std;


int main()
{
    long long int num,res=0;
    cin>>num;
    for(int i=1; i<num;i++)
        if(num%i==0)res++;
    cout<<res<<'\n';
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!