Circles - 2
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
2 circles can divide the plane into a maximum of 4 regions. What is the maximum number of regions that N circles can divide the plane into?
Input
A single integer, N, representing the number of circles (N <= 10^8).
Output
A single integer, representing the maximum number of regions the plane can be divided into.
Examples
Input #1
Answer #1
Submissions 5K
Acceptance rate 29%