1 条题解

  • 0
    @ 2025-9-9 21:21:53
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        int n,x;
        cin>>n;
        for(x=1;x<=n;x++){
            if(x*x*x!=n) continue;
            if(x*x*x==n){
                cout<<"Yes";
                return 0;
            }
        }
        cout<<"No";
        return 0;
    }
    
    • 1

    信息

    ID
    1165
    时间
    1000ms
    内存
    256MiB
    难度
    7
    标签
    递交数
    93
    已通过
    22
    上传者