A+B for Input-Output Practice (VI)
2024-09-16 13:48:19
#include<iostream> Problem Description Your task is to calculate the sum of some integers.
|
Input
Input contains multiple test cases, and one case one line. Each case starts with an integer N, and then N integers follow in the same line.
|
Output
For each test case you should output the sum of N integers in one line, and with one line of output for each line in input.
|
Sample Input
4 1 2 3 4 |
Sample Output
10 |
Author
lcy
|
最新文章
- Pyqt 国际化多语言支持
- C++ 11 lambda
- angular路由配置用法
- PresentViewController切换界面(一些系统自带的页面切换动画)
- java中汉字自动转换成拼音
- ubuntu下搭建cocos2dx编程环境-中
- Head First HTML5 Programming笔记--chapter1 认识HTML5
- python学习第七天
- The 50 Most Essential Pieces of Classical Music
- C++赋值运算符与赋值表达式
- Mesos-error
- 350 - Pseudo-Random Numbers
- Attribute的理解和认识
- APP金融安全白皮书十大安全注意事项及各项注意安全
- 学习笔记TF028:实现简单卷积网络
- Network POJ - 3417(LCA+dfs)
- linux虚拟机长时间不用时间改回来的方法
- 【八】虚拟机工具 01 jps命令详解
- freeradius 错误: error:140890C7:SSL routines:ssl3_get_client_certificate:peer did not return a certificate
- CS231-Multi-calss SVM的求导