提交时间:2023-03-24 15:52:26

运行 ID: 12370

//601160 - 倒序数 #include <bits/stdc++.h> using namespace std; int f(int i){ int temp; while(i>0) { temp=i%10; printf("%d",temp); i=i/10; } } int main(){ int i; cin>>i; f(i); }