Run ID:145776

提交时间:2026-01-25 19:00:35

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