C. 输出整数部分

    Type: Default 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.

题目描述

输入一个双精度浮点数f, 输出其整数部分。

输入格式

一个双精度浮点数f(0 < f < 100000000)。

输出格式

一个整数,表示浮点数的整数部分。

样例 #1

样例输入 #1

3.8889

样例输出 #1

3

顺序结构小测(二)

Not Attended
Status
Done
Rule
IOI
Problem
5
Start at
2025-8-22 9:00
End at
2025-8-22 11:00
Duration
1.5 hour(s)
Host
Partic.
31