Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
48332 盛漫妮 C语言5.9 C++ Accepted 4 MS 268 KB 180 2023-05-26 14:06:27

Tests(1/1):


Code:

#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; }