這個題目呢~
標準輸入兩次
1.) 數組 的個數 N
2.) 用空白間隔的 N 整數數組

要輸出數組的和.

Input Format
The first line contains an integer, NN , denoting the size of the array. The second line contains NN space-separated integers representing the array’s elements.

Output Format
Print the sum of the array’s elements as a single integer.

1
2
3
4
5
6
7
8
9
10
11
#!/bin/python
import sys
def solveMeFirst(a, b):
return (a + b)
num1 = input()
num2 = input()
res = solveMeFirst(num1, num2)
print res