均分纸牌,唉,反正也没人看 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义一个大小为10005的整数数组a int a[10005]; …… 题解列表 2024年11月23日 1 点赞 0 评论 414 浏览 评分:0.0
信息学奥赛一本通T1320-均分纸牌 ```cpp#includeusingnamespacestd;typedeflonglongll;constintN=100+5;intn;inta[N];intmain(){cin>>n;intsum=0;for(inti=0;i>a[i];sum+=a[i];}sum/=n;intcnt=0;f 题解列表 2022年03月14日 0 点赞 0 评论 795 浏览 评分:9.9
2148: 信息学奥赛一本通T1320-均分纸牌 摘要:解题思路:必须要贪心,必须要贪心,必须要贪心,(重要的事说三遍)要做一个贪心一哥! 要就复制吧,爱就点赞吧!注意事项:参考代码:#include<bits/stdc++.h> using name…… 题解列表 2023年01月03日 0 点赞 0 评论 841 浏览 评分:9.9