Run ID:43726
提交时间:2023-01-04 21:03:08
#include<bits/stdc++.h> using namespace std; int main() { int x; cin>>x; if(x<1){ cout<<x; } else if(x<=10 && x>1){ cout<<2*x-1; }else{ cout<<3*x-11; } cout<<endl; return 0; }