c++二分排序 摘要:解题思路:看到的第一眼原本想使用小根堆找出最小的手牌,看了数据量改用了二分法,因为能凑出手牌的数量是单调的注意事项:参考代码:#include<bits/stdc++.h>#define INF 0x…… 题解列表 2024年04月01日 0 点赞 2 评论 813 浏览 评分:0.0
蓝桥杯2022年第十三届决赛真题-卡牌 摘要:注意事项:m记得开long long参考代码:#include<bits/stdc++.h> using namespace std; struct node { long long a; …… 题解列表 2024年05月22日 0 点赞 0 评论 824 浏览 评分:0.0
蓝桥杯2022年第十三届决赛真题-卡牌 简单二分 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"usingnamespacestd;#definell&nb…… 题解列表 2025年03月27日 3 点赞 0 评论 758 浏览 评分:0.0
C++个人写法(非二分) 解题思路:注意事项:参考代码:#includeusingnamespacestd;#definelllonglongintmain(){intn;llk=1E18,m,q=0;cin>>n>>m;vectorp(n), 题解列表 2025年04月09日 0 点赞 0 评论 552 浏览 评分:0.0