#include <stdio.h>
void main(){

  

  int ge,shi,bai;
      for (int i =100; i < 1000; i++)
     {
          bai=i/100;
          shi=i%100/10;
          ge=i%100%10;
          if(bai*bai*bai+shi*shi*shi+ge*ge*ge==i)
           printf("%d \t",i);
    }

    printf("\n");

}  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-17
  • 2022-12-23
  • 2021-06-15
  • 2022-01-05
  • 2021-06-11
  • 2021-07-17
  • 2022-12-23
相关资源
相似解决方案