摘要: 转为字符串分情况讨论 class Solution { public int reverse(int x) { long num = 0; String numStr = x + ""; int len = numStr.length(); if(x >= 0){ for(int i=len-1;i 阅读全文
posted @ 2020-07-20 12:27 浅滩浅 阅读(120) 评论(0) 推荐(0)