提交时间:2026-03-15 17:59:29
运行 ID: 85796
#include<bits/stdc++.h> using namespace std; int main(){ int x,y; cin>>x; if(x>3){ y=4; }else if(x<0){ y=14-2*x; }else{ y=3*x-5; }cout<<y; return 0; }