1 条题解

  • 1
    @ 2025-8-2 17:39:53
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        int n;
        cin >> n;
        for(int i = 1; i <= n; i++){
            if(n % i == 0) cout << i << endl;
        }
        return 0;
    }
    
    • 1

    信息

    ID
    597
    时间
    1000ms
    内存
    256MiB
    难度
    8
    标签
    (无)
    递交数
    11
    已通过
    7
    上传者