想要答案的自己抄

张修睿  •  4个月前


#include<bits/stdc++.h> 

using namespace std;

int main(){ 

     int a,b,c,d,e,f,g,h,i;

     cin>>a; 

     b=a/10;

     c=a%10; 

     d=b/10; 

     e=b%10; 

     f=d/10; 

     g=d%10;

     h=f/10;

     i=f%10;

     cout<<c<<e<<g<<i<<h; 

 return 0; 

}


评论: