#C. 三角形个数

    Type: FileIO (abc) 1000ms 256MiB

三角形个数

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.

题目描述

输入一根木棒的长度 n ,将该木棒分成三段,每段的长度为正整数,输出由该三段小木棒组成的不一样的三角形个数。

输入

一个整数n 1n100001\leq n \leq 10000 .

输出

木棒组成的不一样的三角形个数

10
2
8
1

A班第一天测试

Not Attended
Status
Done
Rule
Ledo
Problem
6
Start at
2025-7-21 19:00
End at
2025-7-21 21:00
Duration
2 hour(s)
Host
Partic.
8