#H. 练42.3 浮点数向零舍入

    Type: RemoteJudge 1000ms 128MiB

练42.3 浮点数向零舍入

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.

说明

输入一个单精度浮点数,将其向零舍入到整数。说明:向零舍入的含义是,正数向下舍入,负数向上舍入。

输入格式

一个单精度浮点数nn。(100000<n<100000-100000 < n < 100000)。

输出格式

一个整数,即向零舍入到整数的结果。

样例

2.3
2

测试42

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
8
Start at
2025-5-5 9:30
End at
2025-5-5 14:30
Duration
5 hour(s)
Host
Partic.
6