2025mzwc直线上的线段
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
一条直线上有 个点,求这 个点一共能组成多少线段。
输入格式
输入一个正整数 。
输出格式
输出这 能组成多少线段。
样例
输入1
10
输出
45
输入2
3
输出
3
说明/提示
蒙自市2025年冬令营结营测试
- Status
- Done
- Rule
- IOI
- Problem
- 6
- Start at
- 2025-2-20 14:30
- End at
- 2025-2-20 16:30
- Duration
- 2 hour(s)
- Host
- Partic.
- 66