Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
149006 Kevin 简单的分支结构 C++ Accepted 0 MS 268 KB 165 2026-03-06 16:31:03

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int x; cin>>x; if(x>0){ cout<<1; } else if(x=0) cout<<0; else cout<<-1; return 0; }