"简简单单"
2025-08-20 16:19:58
发布于:四川
5阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
if(n>0){
cout<<-n;
}else if(n<0){
cout<<-n;
}else{
cout<<0;
}
return 0;
}
全部评论 3
2025-08-20 来自 四川
02025-08-20 来自 四川
02025-08-20 来自 四川
0
有帮助,赞一个