提交时间:2025-12-08 12:56:22
运行 ID: 75611
#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; }