题解 2749: Hello, World!史上最简单题 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ cout << "Hello world!…… 题解列表 2025年07月15日 1 点赞 0 评论 436 浏览 评分:10.0
结构体之时间设计 摘要:```#include using namespace std;struct Date { int day, month, year;};int main() {…… 题解列表 2025年07月02日 1 点赞 0 评论 273 浏览 评分:0.0
报数问题(约瑟夫环问题) 摘要:```#include #include using namespace std;int findLastPerson (int n){ if(n1){ …… 题解列表 2025年07月02日 0 点赞 0 评论 293 浏览 评分:10.0
2998: 电影票 摘要:解题思路:人数*10注意事项:需要输出空格。参考代码:#include<bits/stdc++.h>using namespace std;int main(){&…… 题解列表 2025年06月29日 0 点赞 1 评论 257 浏览 评分:0.0
每个数的个数(cx12h) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;map<int,int>mp;int main(){ int…… 题解列表 2025年06月17日 0 点赞 0 评论 205 浏览 评分:0.0
s01串(cx12g) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s,c; s="0&qu…… 题解列表 2025年06月17日 0 点赞 0 评论 238 浏览 评分:0.0
2880: 计算鞍点 摘要:```cpp#includeusing namespace std;int main(){ int a,b,x; a = 5; b = 5; b…… 题解列表 2025年06月10日 1 点赞 0 评论 170 浏览 评分:10.0
蓝桥杯2023年第十四届省赛真题-T字消除 摘要:解题思路:(贪心+优先队列+覆盖关系映射)我们可以使用贪心策略:每次选择覆盖区域内1的个数最少的T字形进行操作。这样做的目的是为了尽可能少地消耗1,从而进行更多的操作。但是,由于操作后会影响其他T字形…… 题解列表 2025年06月09日 1 点赞 0 评论 206 浏览 评分:10.0
蓝桥杯2023年第十四届省赛真题-T字消除 摘要:解题思路:(贪心+优先队列+覆盖关系映射)我们可以使用贪心策略:每次选择覆盖区域内1的个数最少的T字形进行操作。这样做的目的是为了尽可能少地消耗1,从而进行更多的操作。但是,由于操作后会影响其他T字形…… 题解列表 2025年06月09日 1 点赞 0 评论 138 浏览 评分:0.0