You are given two positive integers, n and m.
Define two values, num1 and num2, as follows:
num1 is the sum of all integers in the range nm.
num2 is the sum of all integers in the range nm.
Return the result of num1 minus num2.
Constraints:
n, m
You are given two positive integers, n and m.
Define two values, num1 and num2, as follows:
num1 is the sum of all integers in the range nm.
num2 is the sum of all integers in the range nm.
Return the result of num1 minus num2.
Constraints:
n, m