提交时间:2024-01-23 16:29:06

运行 ID: 125147

#include<iostream> using namespace std; int main() { int x; cin>>x; if(x<1) {cout<<x<<endl;} else if(x<10) {cout<<2*x-1<<endl;} else {cout<<3*x-11<<endl;} }