Untitled
user_5811307
plain_text
8 months ago
231 B
1
Indexable
Never
#include <iostream> #include <cmath> using namespace std; int g(int a) { int gg =0; for(int i =2; i < a;i++) { if(a%i==0)gg++; } return gg; } int main() { int a ; cin >> a; cout << g(a); }
Leave a Comment