Run ID:48332

提交时间:2023-05-26 14:06:27

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