Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
116256 | 施宸雨 | 简单的分支结构 | C++ | Wrong Answer | 0 MS | 268 KB | 195 | 2025-04-07 19:29:16 |
#include <iostream> using namespace std; int main(){ int x; cin>>x; if (x < 0){ cout<<-1; } if (x == 0){ cout<<0; } else{ cout<<1; } return 0; }
------Input------
-12
------Answer-----
-1
------Your output-----
-11