hyuxi • 1个月前
实测是 1.11
Comments:
#include<bits/stdc++.h>
using namespace std;
#define endl '\n'
int main(){
double x = 1.115;
cin >> x;
//cout << fixed << setprecision(20)<< x << endl;
x += 1e-9;
//cout << fixed << setprecision(20)<< x << endl;
cout << fixed << setprecision(2)<< x << endl;
return 0;
}