代码被吞了,输出格式#include<iomanip> cout<<fixed<<setprecision(x)<<ans<<endl; 即可,ans是输出的答案,x是指定保留的位数

相关推荐

点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务