這個題目單純只是用來讓我們大家熟悉 HackerRank 介面的
所以題目要求超簡單…

標準輸入二次,
分別給進 ab
輸出 a + b 的結果就行

Input Format
Code that reads input from stdin is provided for you in the editor. There are lines of input, and each line contains a single integer.

Output Format
Code that prints the sum calculated and returned by solveMeFirst is provided for you in the editor.

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