Tristan-Adams

#include <stdio.h>
int main() {
int n,x,y,z;
while(scanf("%d",&n)&&n!=0) {
x=n/100;
y=n%100/10;
z=n%100%10;
if(x*x*x+y*y*y+z*z*z==n) printf("Yes\n");
else printf("No\n");
}
}

分类:

技术点:

相关文章:

  • 2021-09-11
  • 2021-09-11
  • 2021-09-11
  • 2021-09-11
  • 2021-09-11
  • 2021-12-23
  • 2021-09-11
  • 2021-09-11
猜你喜欢
  • 2021-09-11
  • 2021-09-11
  • 2021-09-11
  • 2021-07-20
  • 2021-09-11
  • 2021-09-11
  • 2021-09-11
相关资源
相似解决方案