移位的时候不需要考虑符号位,最后输出的时候用Integer.toUnsignedLong()或者Integer.toUnsignedString()就可以了
点赞 1

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务