/* -*- coding: utf-8 -*- * * 1157.cc: No.1157 Many Quotients easy - yukicoder */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; /* constant */ const int MAX_N = 100000; /* typedef */ /* global variables */ int as[MAX_N + 1]; /* subroutines */ /* main */ int main() { int n; scanf("%d", &n); for (int i = 1; i <= n; i++) as[n - i] = n / i; int m = unique(as, as + n) - as; printf("%d\n", m); return 0; }