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

相关推荐

牛客网
牛客企业服务