题解 1022: [编程入门]筛选N以内的素数-复盘 摘要:#includeusing namespace std;int su(int i){ if(i==2||i==3)return 1; for(int j=2;j>n; for(…… 题解列表 2025年11月23日 0 点赞 0 评论 957 浏览 评分:0.0
题解 2750: 字符菱形--终于写这个两for循环 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ i…… 题解列表 2025年11月23日 0 点赞 0 评论 157 浏览 评分:0.0
题解 2096: 打印平行四边形-while和for 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ i…… 题解列表 2025年11月23日 0 点赞 0 评论 77 浏览 评分:0.0
题解 2012: 百分制成绩转换-只用了if、for、数组 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ i…… 题解列表 2025年11月23日 0 点赞 0 评论 76 浏览 评分:0.0
c++最大和最小差值的两种方法 摘要:方法一:使用climits头文件定义最大数,不需要数组#include <iostream>#include <climits>//包含INT_MAX和INT_MIN#incl…… 题解列表 2025年11月22日 0 点赞 0 评论 103 浏览 评分:0.0
数据结构--链表的基本操作 摘要:解题思路:该咋写就咋写注意事项:该咋写就咋写参考代码://累死我了,写这么多代码好累啊,写了1个小时,我还是太菜了#include<iostream>#include<cstring…… 题解列表 2025年11月21日 0 点赞 0 评论 134 浏览 评分:0.0
题解 3326-易于理解:法一+法二 摘要:解题思路:可分为五个部分,复制到编译器会好看一点注意事项:参考代码:#include<bits/stdc++.h>//常用组合头文件usingnamespace…… 题解列表 2025年11月21日 1 点赞 0 评论 213 浏览 评分:0.0
题解 3325:每行向左移动一个 字符,用 2025 重复填入 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#define MAX 1000int main(){ …… 题解列表 2025年11月19日 0 点赞 0 评论 296 浏览 评分:0.0
编写题解 2830: 数字统计 摘要:#include <bits/stdc++.h>using namespace std;int main(){ int l,r; cin…… 题解列表 2025年11月19日 0 点赞 0 评论 109 浏览 评分:10.0
蓝桥杯2025年第十六届省赛真题-红黑树 摘要:解题思路: 本题利用递归的方法可以解决,而且代码简洁 根据每一行输入的节点位置(n,k)可以向上找到其父节点的位置为(n-…… 题解列表 2025年11月19日 0 点赞 0 评论 183 浏览 评分:0.0