Sum Two Numbers

Easy10–15 pts depending on language · +25 for learning a language that's new to you

Return the sum of two integers.

Examples

Input: sum(2, 3)

Output: 5

Input: sum(-4, 4)

Output: 0

Your solution is checked against 2 example tests and 3 hidden tests (edge cases and bigger inputs).

Solved by 8 members

  1. 1RainePython 3 · Oct 12
  2. 2CasonRust · Oct 12
  3. 3Alex T.Rust · Oct 13
  4. 4brett B.TypeScript · Oct 14
  5. 5Isaac M.Python 3 · Oct 14
Full leaderboard →

Your Solution

Languages you don't learn in class are worth more: C++ 1.25×, JavaScript, TypeScript, C, Rust and Go 1.5×. Your first solve in a language unlocks its "Learned" achievement: +25 for learning it.

Loading editor...

IntelliSense: connecting…

Run Code checks the example tests. Submit runs every test, including hidden ones.