hdoj2010
来源:互联网 发布:天猫淘宝优惠券发布群 编辑:程序博客网 时间:2024/04/30 02:10
#include<stdio.h>int main(){int first=0,m,n,i,a,b,c;while(scanf("%d%d",&m,&n)==2){first=0;for(i=m;i<=n;i++){a=i/100;b=i%100/10;c=i%10;if(i==(a*a*a+b*b*b+c*c*c)){if(first)printf(" ");first++;printf("%d",i);}}if(!first)printf("no\n");else printf("\n");}return 0;}
0 0
- hdoj2010
- HDOJ2010
- HDOJ2010
- hdoj2010
- HDOJ2010
- hdoj2010 水仙花
- hdoj2010解题报告
- Hdoj2010水仙花数
- HDOJ2010水仙花数
- hdoj2008/hdoj2009/hdoj2010/hdoj2011/hdoj2012
- hdoj2010(java)水仙花数 格式格式!!!!!!!!!!!!!!
- HDOJ2010水仙花数--水题(一)
- c# 金额大小写转换
- 余杭归来
- 桌面图标全是问号
- 精致的水晶风格按钮
- 信息论与编码之算术编码
- hdoj2010
- 人人都是产品经理
- php中调解者设计模式
- 学程序开发
- zookeeper应用场景
- 2PL协议,两段封锁协议
- android UEventObserver
- Coder-Strike 2014 - Finals (online edition, Div. 2) D.Bug in Code
- 大小写不敏感的字符串