HDOJ1093
来源:互联网 发布:用友成都java招聘 编辑:程序博客网 时间:2024/06/05 11:46
#include <stdio.h>#include <iostream>using namespace std;int main(int argc, char *argv[]) {int N;cin>>N;while(N){int n;while(cin>>n){if(n == 0)break;int sum = 0;while(n){int temp;cin>>temp;sum += temp;n--;}printf("%d\n",sum);}N--;}return 0;}
0 0
- HDOJ1093
- hdoj1093
- hdoj1093
- hdoj1093简单题、输入输出
- hdoj1093 a+b(3)
- HDOJ1093 A+B for Input-Output Practice (V)
- shell命令,从字符串中提取数字
- Android string.xml 展示特殊符号
- Access 操作或事件已被禁用模式阻止
- 百度员工离职总结:如何做个好员工
- Java中判断一个字符串是否包含另一个字符串的方法
- HDOJ1093
- NSURLConnection同步和异步连接
- 解决Ubuntu终端中文乱码显示问题
- 项目从想法到实现需要经历哪些过程
- android Theme level 11 使用总结
- 【深度学习论文笔记】Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition
- python创建你自己的命令行,地址簿程序
- Android——调用系统相册
- POJ1006 Biorhythms