Run ID:150245
提交时间:2026-03-24 19:08:00
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() 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; }