摘要: public class String_to_Integer { public static int myAtoi(String str) { str=str.trim(); int target=0; if(str.length()==0){ return 0; } if(str.equals(" 阅读全文
posted @ 2020-06-06 19:46 lalalalatxx 阅读(125) 评论(0) 推荐(0) 编辑
摘要: public class Main { public static void main(String[] args) { System.out.println(reverse(-123)); } public static int reverse(int x) { long sum=0; while 阅读全文
posted @ 2020-06-06 16:48 lalalalatxx 阅读(105) 评论(0) 推荐(0) 编辑