80?

B2016 浮点数向零舍入

@[Kuangxirui](/user/855779) ```cpp #include<bits/stdc++.h> using namespace std; int main() { double a; cin>>a; cout<<(long long)a; return 0; } ``` 不开ll见祖宗
by dienter @ 2023-12-07 13:06:46


@[Kuangxirui](/user/855779) 把最后一个```else if(a==0)```改成```else```试试
by 孙轩宇 @ 2023-12-07 17:42:17


@[孙轩宇](/user/470973) thank you
by Kuangxirui @ 2023-12-10 11:52:52


@[dienter](/user/933643) thank you
by Kuangxirui @ 2023-12-10 11:53:17


|