Buct oj 1016
#include<stdio.h>
int
main()
{
int
a,b,c,i;
for
(i=100;i<=999;i++)
{
a=i/100;
b=i/10%10;
c=i%10;
if
(a*a*a+b*b*b+c*c*c==100*a+10*b+c)
printf
(
"%d\n"
,i);
}
}
Buct oj 1016相关推荐
- neuq oj 1016 Roliygu and Yilan C++
1016: Roliygu and Yilan 时间限制: 1 Sec 内存限制: 128 MB 提交: 73 解决: 40 [ 提交][ 状态][ 讨论版] 题目描述 Roliygu is ...
- Buct oj 1019
#include<stdio.h> #include<math.h> int main() { int i,N; double x,y,M; scanf ...
- Buct oj 1015
#include<stdio.h> int main() { int a,b,c; double s1=0,s2=0,s3=0,S,i,j,k; scanf(&quo ...
- Buct oj 1018
#include<stdio.h> #include<stdlib.h> int main() { double sum,i,j,f1,f2,f3,N; sca ...
- buct oj 最大公共子序列问题
问题 B 最大公共子序列问题 时间限制: 1 Sec 内存限制: 128 MB [提交] 题目描述 对序列X=(x1, x2, .., xm),定义其子序列为(xi1, xi2, .., xik), ...
- zzuli oj 1016:银行利率(java)
题目描述 设银行1年期定期存款年利率为2.25%,存款本金为capital元,试编程计算并输出n年后的本利之和. (注: 目前银行活期存款的利息是按单利计息的.如果是定期存款,连本带息转入下一个存期, ...
- zzuli OJ 1016: 银行利率
Description 设行1年期定期存款年利率为2.25%,存款本金为deposit元,试编程计算并输出n年后的本利之和. Input 输入一个正整数和一个实数,分别代表存款年数和存款本金. Out ...
- gpt2_gpt 3,一开始是单词2 2
gpt2 30秒摘要(30-Second Summary) Any innovative AI technology has its share of advantages and threats. ...
- Github上收集了70个微信小程序源码
Demo 1:仿豆瓣电影微信小程序https://github.com/zce/weapp-demo 2:微信小程序移动端商城https://github.com/liuxuanqiang/wecha ...
最新文章
- Pandas常见的性能优化方法
- 遇到 HTTP 错误 403.14 - Forbidden?
- QT的QString类的使用
- 手持gps坐标转换参数求解方法及在excel中的实现_怎么在GIS office 软件中批量导入坐标点位...
- 【计算机组成原理】定点运算器的基本结构
- jakarta ee_Jakarta EE的拟议命名空间
- 一文说清linux system load
- apachemod_wsgidjango部署多个项目
- 使用组策略禁止域用户运行特定软件名称的程序
- nodefs模块的使用demo
- 主存储器的技术指标有哪些?其含义是什么?
- 程序员的十个经典算法
- 儒略日 Julian Date
- 预约移民后服务器不显示,玩家预约凌烟阁服务器瞬间成功,这算不算被几率
- 爬取4399网站的图片
- 超简单的3步搭建静态网站(Franklin.jl)
- 交通事故现场拍照技巧
- 【C#】数字图像识别
- db2还原备份文件详细教程
- 了解OLE及ActiveX