#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; }
只是程序,第十测试点错了,请各位大佬帮帮我吧,回帖必关