LiteCode
Run
Submit
Sign in
Question
Editorial
Submissions
AI
Notes
Two Sum
Easy
Math
Basic
Find the sum of two given elements. Both the numbers will always be 0 or positive.
Examples
Input:
1 2
Output:
3
Input:
1 100
Output:
101
Constraints
Both numbers will always be 0 or positive
Editor
Reset
Loading...
Results
Results
Test Case 1
Test Case 2
Not run
Runtime: --
Memory: --
1 2
Question
Editorial
Submissions
AI
Editor
Results
Notes
Two Sum
Easy
Math
Basic
Find the sum of two given elements. Both the numbers will always be 0 or positive.
Examples
Input:
1 2
Output:
3
Input:
1 100
Output:
101
Constraints
Both numbers will always be 0 or positive