#t303. 平面分割(surface)
平面分割(surface)
Dividing a Plane with Lines
Problem Background
Special for beginners, ^_^
Problem Description
There are straight lines in the same plane. It is known that of them intersect at the same point. What is the maximum number of different regions these lines can divide the plane into?
Input Format
Two integers and .
Output Format
One positive integer, the maximum number of regions.
Sample Input
12 5
Sample Output
73
Constraints
1 second, 1024 KiB for each test case.