Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
83054 sh25_huangse 根据x值,求y值 C++ 通过 0 MS 244 KB 174 2026-01-20 19:54:17

Tests(1/1):


#include <iostream> 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; }


测评信息: