Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
91620 sh25_ganzy 根据x值,求y值 C++ Accepted 0 MS 240 KB 178 2026-06-13 20:23:22

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x>3) cout<<4; else if(x<0) cout<<14-2*x; else cout<<3*x-5; return 0; }


Judgement Protocol: