A Plus B


Submit solution

Points: 5 (partial)
Time limit: 2.0s
Memory limit: 64M

Authors:
Problem type

變化題

-

題目說明

先輸入欲計算的個數,再輸入數值

Input

個數N與相應個數的式子

假設有兩條式子 -> 1、1,-1、0

那要先輸入2 之後輸入 1 1, -1 0 如下

Output

N個式子的個別結果

Sample Input

2
1
1
-1 
0

Sample Output

2
-1

Comments

There are no comments at the moment.