Problems
The number of even divisors
include<bits/stdc++.h>
using namespace std; int main(){ long long r=0,i,n; cin>>n; for(i=1; i<=n; i++){ if(n%i==0 and i%2==0) r++; } cout<<r; }
using namespace std; int main(){ long long r=0,i,n; cin>>n; for(i=1; i<=n; i++){ if(n%i==0 and i%2==0) r++; } cout<<r; }