摘要: 模拟即可,但是一定要注意四舍五入的问题。第一次统计的平均值不用四舍五入,但是第二次去除掉不合法的后取的平均值要四舍五入,推荐用 round 函数,其他就是模拟即可。 #include <bits/stdc++.h> using namespace std; #define int long long 阅读全文
posted @ 2022-01-19 20:30 HappyBobb 阅读(15) 评论(0) 推荐(0)