提交时间:2026-02-04 01:14:39

运行 ID: 83908

#include <bits/stdc++.h> using namespace std; int main( ) { float f; cin>>f; bool b=(f<0); f=abs(f); int n=int(f); if(b==true) cout<<"-"; cout<<f; return 0; }