6.10水仙花数
来源:互联网 发布:手机网络老是连接超时 编辑:程序博客网 时间:2024/05/29 14:45
#include<stdio.h>int main(){ int a,b,c,i=100; for(i=100;i<=999;i++) { a=i/100; b=(i%100)/10; c=i%10; if(i==a*a*a+b*b*b+c*c*c) printf("%d\n",i); } return 0;}
阅读全文
0 0
- 6.10 水仙花数
- 6.10 水仙花数
- 6.10水仙花数
- 6.10水仙花数
- 6.10水仙花数
- 6.10水仙花数
- 6.10水仙花数
- 6.10水仙花数
- 水仙花数
- 水仙花数
- 水仙花数
- 水仙花数
- 水仙花数
- 水仙花数
- 水仙花数
- 水仙花数
- 水仙花数
- 水仙花数
- 习题6(6.5)
- 面向对象编程OOP
- OpenGL学习之路 一
- 6.7
- Oracle操作之--表
- 6.10水仙花数
- 乘法口诀的正排序
- Ajax笔记
- Cooperative multitasking using coroutines (in PHP!)
- linux 进程间通信kill();
- SSH使用公钥加密
- vn.py初试(一)
- 7、@SessionAttributes——模型数据
- python3 读文件的问题