1 条题解

  • 0
    @ 2026-5-17 14:31:03
    #include <bits/stdc++.h>
    using namespace std;
    
    int main() {
    	int n, ans = 0;
        cin >> n;
        for(int i = 1; i <= n; i++){
            for(int j = 1; j <= n / i; j++){
                for(int k = 1;  k <= n / i / j; k++){
                    ans++; 
                }
            }
        }
        cout << ans;
    }
    • 1

    信息

    ID
    9289
    时间
    2000ms
    内存
    1024MiB
    难度
    5
    标签
    递交数
    17
    已通过
    13
    上传者