1 solutions

  • 1
    @ 2026-8-11 10:48:23

    点赞的是彭于晏

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int n;
        cin>>n;
        for(int x=1;x*x*x<=n;x++)
        if(x*x*x==n){
        	cout<<"Yes";
        	return 0;
    	}
    	{
    		cout<<"No";
    	}
        return 0;
    }
    
    • 1

    Information

    ID
    2178
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    6
    Tags
    # Submissions
    128
    Accepted
    40
    Uploaded By