Skip to main content

Practice · 1 of 6

Sum of Two Numbers

CHALLENGE
Difficulty: beginner+25 XP

**Description:** Given two integers a, b. Print their sum. **Input:** One line: a b (−10^9 ≤ a, b ≤ 10^9). **Output:** One integer — a + b. **Example:** input 2 3 → output 5. *Subtask hint:* with these bounds the sum reaches 2·10^9 — which type fits?

Back to lesson: Practice: Starter Set