提交时间:2024-01-23 16:34:09

运行 ID: 125209

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