提交时间:2024-01-23 17:14:21

运行 ID: 125564

#include<iostream> #include<bits/stdc++.h> using namespace std; int main(){ double x; cin>>x; if(x<1) cout<<x; if(1<=x&&x<10) cout<<2*x-1; if(x>=10) cout<<3*x-11; }