求助……
查看原帖
求助……
793625
Pink_Cut_Tree楼主2022/10/13 09:14
#include<bits/stdc++.h>
using namespace std;
int main(){
	int x;
	cin>>x;	
	if(x>=0){
		cout<<x%100%10<<x%100/10<<x/100<<endl;
	} 
	else{
		x=0-x;
		cout<<"-"<<x%100%10<<x%100/10<<x/100<<endl;
	}
	return 0;
}

10分!? 求助……

2022/10/13 09:14
加载中...