链表之报数问题(约瑟夫环)C语言循环链表法 摘要:解题思路:学了最基础的链表知识就很容易理解了,参考王道的数据结构上面的链表代码,重点就是删除嘛。参考代码:#include<stdio.h>#include<stdl…… 题解列表 2025年03月08日 0 点赞 0 评论 312 浏览 评分:0.0
蓝桥杯2016年第七届真题-路径之谜 简单的dfs 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"usingnamespacestd;#definell&nb…… 题解列表 2025年03月08日 0 点赞 0 评论 265 浏览 评分:0.0
题解 1113: C语言考试练习题_保留字母 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main() { char s…… 题解列表 2025年03月08日 0 点赞 0 评论 259 浏览 评分:0.0
题解 1532: 蓝桥杯算法提高VIP-数组输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<math.h>int main()…… 题解列表 2025年03月08日 0 点赞 0 评论 174 浏览 评分:0.0
[编程入门]利润计算 摘要:```c#include int main() { int x; int l; scanf("%d",&x); if(x>1000000){ …… 题解列表 2025年03月08日 1 点赞 0 评论 890 浏览 评分:0.0
[CSP-J2020] 优秀的拆分 dfs大法 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"usingnamespacestd;#definell&nb…… 题解列表 2025年03月08日 0 点赞 0 评论 211 浏览 评分:0.0
C++ 使用 set库 和 克拉默法则解决蚂蚁开会 摘要:使用C++的 **set** 来存储符合条件的坐标,以防止坐标重复。在计算时采用 **克拉默法则** 计算线性方程组的解**注意:**1.防止坐标重复2.注意是线段而不是直…… 题解列表 2025年03月08日 5 点赞 0 评论 1356 浏览 评分:0.0
[编程入门]最大公约数与最小公倍数 摘要:```c#include int gcd(int a,int b){ return b==0?a:gcd(b,a%b);}int lcm(int a,int b){ r…… 题解列表 2025年03月09日 4 点赞 0 评论 1029 浏览 评分:0.0
蓝桥杯2023年第十四届省赛真题-飞机降落 简单的dfs 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"usingnamespacestd;#definell&nb…… 题解列表 2025年03月09日 3 点赞 0 评论 1065 浏览 评分:0.0
带参数宏定义练习 摘要:参考代码:#include<stdio.h>#include<string.h>#define M(a,b) (a*b)#define…… 题解列表 2025年03月09日 1 点赞 0 评论 423 浏览 评分:0.0