ssqmnb1145 @ 2022-09-25 13:20:33
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long n;
scanf("%lld",&n);
while(n!=0){
if(n%10==0){
goto st;
}
printf("%d",n%10);
st:
n/=10;
}
return 0;
}
by 大眼仔Happy @ 2022-09-25 13:25:56
@for_i_in_range65 可以康康我的
#include<bits/stdc++.h>
using namespace std;
int n,ans;
int main(){
cin>>n;
while(n)
{
ans=ans*10+n%10;
n/=10;
}
cout<<ans;
return 0;
}
by Fanray @ 2022-09-25 13:27:56
小黑子,漏出鸡脚了吧,食不食油饼
by ssqmnb1145 @ 2022-09-25 13:29:28
@Fanray 我不食油饼,我食油大饼
by ssqmnb1145 @ 2022-09-25 13:29:47
@大眼仔Happy 谢谢大佬
by ssqmnb1145 @ 2022-09-25 13:30:25
@大眼仔Happy 能讲一下原理吗
by ssqmnb1145 @ 2022-09-25 13:32:01
@大眼仔Happy 秦久邵方法吗
by AfterFullStop @ 2022-09-25 13:33:35
@for_i_in_range65 这和秦九昭没关系
by Gale_Shapley @ 2022-09-25 13:54:14
你那蓝题怎么来的
by Siegerkranz_2735 @ 2022-09-25 13:56:17
@FXRC 你是名歧?
by Gale_Shapley @ 2022-09-25 13:58:17
@2735 我并不认为我是名歧