Run ID:144875
提交时间:2026-01-24 19:21:36
#include<bits/stdc++.h> using namespace std; int main(){ long long x=0,y=0; cin>>x; if(x<0){ y=-1; } if(x==0){ y=0; } if(x>0){ y=1; } cout<<y<<endl; return 0; }