#include #include using namespace std;int main(){ double a;cin>>a; int b=(int)a;
cout< return 0;}不知道为什么输出结果对,但交的时候显示答案错误
小数部分直接 a-b