32 位的有符号整数反转 原创 · int reverse(int x) · { · if(x/10 == 0) · return x; //平凡情况:若x∈[-9,9],则直接返回其本身 · int y = 0; · while(x) · {.
確定! 回上一頁