| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 75611 | sh25_zhuwy | 根据x值,求y值 | C++ | 通过 | 0 MS | 236 KB | 248 | 2025-12-08 12:56:22 |
#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; }