Xcqk_AS @ 2024-09-27 13:18:15
#include<bits/stdc++.h>
using namespace std;
int main()
{
double a;
cin>>a;
printf("%.0f",a);
return 0;
}
by LiuXuDong55555 @ 2024-09-27 13:20:49
@Xcqk_AS
开longlong
by LiuXuDong55555 @ 2024-09-27 13:21:22
求关注
by LiuXuDong55555 @ 2024-09-27 13:23:01
建议用c++写
by LiuXuDong55555 @ 2024-09-27 13:23:59
#include<bits/stdc++.h>
using namespace std;
long double a;
int main(){
cin >> a;
cout << (long long)a;
return 0;
}
by Xcqk_AS @ 2024-09-27 13:26:50
谢谢,已AC