Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 597 Bytes

File metadata and controls

34 lines (19 loc) · 597 Bytes

Add

Write a function that returns the sum of two numbers.


Example:

  • For param1 = 1 and param2 = 2, the output should be solution(param1, param2) = 3.

Input/Output:

  • [execution time limit] 5 seconds (ts)

  • [input] integer param1

    • Guaranteed constraints:
      • $-1000 \le param1 \le 1000$
  • [input] integer param2

    • Guaranteed constraints:
      • $-1000 \le param2 \le 1000$
  • [output] integer

    • The sum of the two inputs.

Solution: