20分求助
查看原帖
20分求助
1069124
Rosy1楼主2023/8/26 18:57
#include<bits/stdc++.h>
using namespace std;
int main( )
{
	int x,ge,shi,bai,y;
	cin>>x;
	bai=x%10;
	shi=x/10%10;
	ge=x/100%10;
	y=bai*100+shi*10+ge;
	cout<<y; 
	return 0;
}
2023/8/26 18:57
加载中...