| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 149740 | xyc | 简单的分支结构 | C++ | Wrong Answer | 1 MS | 264 KB | 177 | 2026-03-16 16:57:34 |
#include <iostream> using namespace std; int main(){ int x,y; cin>>x>>y; if(x<0){ cout<<"y=-1"; }else if(x>0){ cout<<"y=1"; }else{ cout<<"y=0"; } }
------Input------
-12
------Answer-----
-1
------Your output-----
y=-1