题解
2025-05-06 19:29:58
发布于:北京
0阅读
0回复
0点赞
AC
#include<bits/stdc++.h>
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b=0,count=0;
cin>>a;
while(true){
b=a%10;
count=count*10+b;
a/=10;
if(a==0){
break;
}
}
cout<<count;
return 0;
}
这里空空如也
有帮助,赞一个