提交时间:2026-06-05 15:05:34
运行 ID: 90008
#include<bits/stdc++.h> using namespace std; int reverse(int n){ if(n<10) cout<<n; else{ cout<<n%10; reverse(n/10); } } int main(){ int x; cin>>x; reverse(x); return 0; }