Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
48322 张瑞涵 C语言5.9 C++ Accepted 0 MS 276 KB 183 2023-05-26 12:52:03

Tests(1/1):


Code:

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