📅  最后修改于: 2022-03-11 14:58:43.301000             🧑  作者: Mango
int ReversNum(int num)
{
if(num % 10 == num) return num;
int tenP = 10;
while(num % (tenP*10) != num) tenP *= 10;
return rReversNum( num / 10) + (num % 10)*tenP;
}