#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; #define FOR(i,a,b) for(ll i=(a);i<(b);++i) #define ALL(v) (v).begin(), (v).end() #define p(s) cout<<(s)<> N; ll count = 0; bool is_square_included = false; for(ll i=1; i*i<=N; i++){ if(N%i==0){ count++; if(i*i==N){ is_square_included = true; } } } ll ans; if(is_square_included){ ans = (count-1) * 2 + 1; }else{ ans = count * 2; } p(ans); return 0; }