提交时间:2024-02-21 19:06:43
运行 ID: 41557
#include <iostream> #include <cmath> using namespace std; int main() { int n; cin >> n; int ct = 0; for (int i = 1; i <= sqrt(n); i++) ct += (n % i == 0); cout << ct; }