答案来了 本人试过
#include<iostream> using namespace std; int main() { int x; int a, b, c; cin>>x; a=x/100; b=x/10%10; c=x%10; cout<<c<<b<<a; return 0; }