#include<iostream> #include<iomanip> using namespace std; int main() { float x; cin>>x; if(x<1) cout<<fixed<<setprecision(2)<<x; else if(x>=1&&x<10) cout<<fixed<<setprecision(2)<<x*2-1; else cout<<fixed<<setprecision(2)<<3*x-11; return 0; }
0.0分
1 人评分