#include using namespace std; #if __has_include("Today's/debug.cpp") #include "Today's/debug.cpp" #else #define debug(...) #define print_line #define debugc(...) #define cerr \ if (false) cerr #endif mt19937 mt; random_device rnd; vector divisors(long long n) { vector ret; for (long long i = 1; i * i <= n; i++) { if (n % i) { continue; } ret.push_back(i); if (n / i != i) { ret.push_back(n / i); } } sort(ret.begin(), ret.end()); return ret; } void run() { long long n; cin >> n; vector D = divisors(n); cout << D.size() << endl; } int main() { mt.seed(rnd()); ios::sync_with_stdio(false); cin.tie(nullptr); int t = 1; // cin >> t; while (t--) { run(); } }