Sum of Two Numbers
Easy
math
basic
Sum of Two Numbers
Given two integers, return their sum.
Example 1
Input: a = 2, b = 3
Output: 5
Example 2
Input: a = -1, b = 5
Output: 4
Constraints
- -1000 ≤ a, b ≤ 1000
範例測試案例
範例 1
輸入:
2 3
預期輸出:
5
說明:
2 + 3 = 5
範例 2
輸入:
-1 5
預期輸出:
4
說明:
-1 + 5 = 4
快捷鍵:
- • Ctrl/Cmd + Enter 提交
📈 統計
提交次數
0
通過次數
0