Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
124918 陈馨逸 分段函数 C++ Wrong Answer 66 0 MS 240 KB 185 2024-01-23 16:10:16

Tests(2/3):


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


Judgement Protocol: