2235-add-two-integers

DevGod
Vtuber
int sum(int num1, int num2) { return num1+num2;}
public class Solution { public int Sum(int num1, int num2) { return num1+num2; }}
class Solution { public int sum(int num1, int num2) { return num1+num2; }}
/** * @param {number} num1 * @param {number} num2 * @return {number} */var sum = function(num1, num2) { return num1+num2;};
class Solution {
/** * @param Integer $num1 * @param Integer $num2 * @return Integer */ function sum($num1, $num2) { return $num1 + $num2; }}
class Solution: def sum(self, num1: int, num2: int) -> int: return num1+num2
function sum(num1: number, num2: number): number { return num1+num2;};