题解 | #牛牛的排列数#
牛牛逆序输出
http://www.nowcoder.com/practice/d981181ce18e4cce945fdf52daf037a1
#C语言,用递归去解决问题
#include<stdio.h> void Integer(int n) { if(n >= 1 && n <= 9) { printf("%d",n); } else { printf("%d",n % 10); Integer(n / 10); } } int main() { int n = 0; scanf("%d",&n); Integer(n); return 0; }