上代码
#include <bits/stdc++.h> using namespace std; int main(){ double a; cin>>a; cout<<fixed<<setprecision<<(2)<<0-a<<endl; }