1203 -- 无题
2015-09-03 10:05
302 查看
无题
Time Limit:1000MS Memory Limit:65536K
Total Submit:125 Accepted:60
Description
A student of ahu Computer Science & Technology School named CQ wants to make a interesting work.He wants to calculate the sum of a positive integer that anyone gives to him.Please write a program
to do this work.
Input
输入若干行,每行代表一个需要求和的正整数,整数不超过700位
最后一行为0,表示输入结束
Output
输出若干行,每行代表对应数值的求和结果。
Sample Input
Sample Output
Source
Time Limit:1000MS Memory Limit:65536K
Total Submit:125 Accepted:60
Description
A student of ahu Computer Science & Technology School named CQ wants to make a interesting work.He wants to calculate the sum of a positive integer that anyone gives to him.Please write a program
to do this work.
Input
输入若干行,每行代表一个需要求和的正整数,整数不超过700位
最后一行为0,表示输入结束
Output
输出若干行,每行代表对应数值的求和结果。
Sample Input
321 456 789 0
Sample Output
6 15 24
Source
相关文章推荐
- Packet for query is too large
- html 小知识
- Makefile 中:= ?= += =的区别
- 1202 -- 童年生活二三事
- android颜色设置alpha的问题
- zoj 1610 线段树
- 物理学家的LOGO
- LINUX网络管理之Centos6&&Centos7
- 1201 -- 简易版最长序列
- 学英语
- 安卓常见学习链接
- 侧滑菜单 Navigation Drawer
- 【笔试】40、从上往下打印二叉树
- Android Animation动画实战(二):从屏幕底部弹出PopupWindow
- Android Animation动画实战(二):从屏幕底部弹出PopupWindow
- poj 2240__Arbitrage (Floyd)
- solr查询域为空值的方法
- Bower -- 前端各种库管理神器!
- Bower -- 前端各种库管理神器!
- Linux服务器安装笔记 汇总