能不能帮帮我这个蒻稽
查看原帖
能不能帮帮我这个蒻稽
1245694
wjm2012楼主2024/10/11 22:00
#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n;
    cin>>n;
    for(int x=1;x<=n/2;x++){
    	if(x*x*x==n){
    		cout<<"Yes";
    		return 0;
		}
	}
	cout<<"No";
	return 0;
}

只是程序,第十测试点错了,请各位大佬帮帮我吧,回帖必关

2024/10/11 22:00
加载中...