#D. 计算等边三角形使用的火柴根数量(拓展04-输入总火柴根数量[有可能不能搭建一个完整的等边三角形],计算层数)

    Type: Default 1000ms 256MiB

计算等边三角形使用的火柴根数量(拓展04-输入总火柴根数量[有可能不能搭建一个完整的等边三角形],计算层数)

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.

Background

Description

计算等边三角形使用的火柴根数量(拓展04-输入总火柴根数量[有可能不能搭建一个完整的等边三角形],计算层数)

image

Format

Input

Output

Samples

630
20
165
10
160
error
150
error

Limitation

1s, 1024KiB for each test case.

一元二次方程

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
5
Start at
2024-6-22 0:00
End at
2024-7-7 0:00
Duration
360 hour(s)
Host
Partic.
5