12953: 【设计型】第9章: 指针 9.8 求和啦(1)

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:0

Description

利用指向行的指针,求一维数组的9个数字加起来的和。

Input

输入9个整数进入到数组中。

Output

输出一个整数,为所有整数之和。

Sample Input Copy

1 2 3 4 5 6 7 8 9

Sample Output Copy

45