return String.format("%.2f", 2 * Math.pow(0.5d, n)); 直接返回也可以
2 1

相关推荐

迷茫的大四🐶:价格这么低都能满了?
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务