题解 | #缩短二进制#
缩短二进制
http://www.nowcoder.com/practice/4ffcc9f206b949ddb057ee0099b34d51
public class Main{
public static void main(String[] args){
int num = 1234;
System.out.printf("%#o %#X", num, num);
}
}
缩短二进制
http://www.nowcoder.com/practice/4ffcc9f206b949ddb057ee0099b34d51
public class Main{
public static void main(String[] args){
int num = 1234;
System.out.printf("%#o %#X", num, num);
}
}
相关推荐