萌新80分(求大佬帮助)3点和4点

B2016 浮点数向零舍入

求助SOS
by czy888 @ 2022-10-22 20:08:45


@[czy888](/user/817033) long long
by WOERDESUGX @ 2022-10-22 20:11:12


``` #include <bits/stdc++.h> using namespace std; int main(){ double a; cin>>a; cout<<(long long)a; return 0; } ``` 不开longlong见祖宗
by Curry_Skyfxxker @ 2022-10-22 20:22:32


AC了
by czy888 @ 2022-11-06 16:45:33


``` #include<iostream> #include<cstdio> #include<algorithm> #include<cstring> #include<cmath> #include<string> #include<cstdlib> using namespace std; double a; int main(){ cin>>a; cout<<(long long)a; return 0; } ```
by Cybertruck @ 2023-04-29 10:19:37


|