提交时间:2021-05-22 14:58:45
运行 ID: 98
#include <iostream> using namespace std; void Reverse(int n){ if(n>=10){ cout<<n%10<<" "; Reverse(n/10); }else{ cout<<n<<" "; } } int main() { Reverse(12345); return 0; }