摘要: 1. 不用比较判断找出AB中较大的数 1 public class getMaxWithOutCompair { 2 public int flip(int n) { 3 return n ^ 1; 4 } 5 6 public int sign(int n) { 7 // 如果负数返回0 如果正数 阅读全文
posted @ 2021-07-28 17:21 rudynan 阅读(52) 评论(0) 推荐(0)