当然,jhgelrger

肖声晖  •  1个月前


#include <iostream> using namespace std; int main(){ int x; cin>>x; if(x>0){ cout<<"1"; }else if(x<0){ cout<<"-1"; }else{ cout<<"0"; } }


评论: