#P2789. 直线交点数
直线交点数
Description
Assume there are lines in the plane, and no three lines are concurrent. How many distinct possible numbers of intersection points can these lines have?
Input Format
One line with an integer , the number of lines.
Output Format
One line with an integer, the total number of possible values.
4
5
Hint
For all testdata, .
Translated by ChatGPT 5
京公网安备 11011102002149号