1492 蓝桥杯算法提高VIP-产生数 摘要:解题思路:无注意事项:无参考代码:#include<iostream>#include<cstring>using namespace std;int tag[10][10],d[10],p[1000…… 题解列表 2024年08月24日 0 点赞 0 评论 297 浏览 评分:10.0
校门外的树 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int L,M; scanf("%d%d",&L,&M); int n=L+1,sum=0; //n:树量 …… 题解列表 2024年08月28日 2 点赞 0 评论 275 浏览 评分:10.0
1157题解(C语言) 摘要:```c #include // 函数 yue_shu 用于计算一个整数 n 的所有真约数(除了它本身)的和 int yue_shu(int n){ int sum = 0; //…… 题解列表 2024年08月30日 1 点赞 0 评论 488 浏览 评分:10.0
蓝桥杯2023年第十四届省赛真题-冶炼金属 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n; scanf("%d",&n); int max=1000000000,min=…… 题解列表 2024年08月31日 0 点赞 0 评论 651 浏览 评分:10.0
1162: 密码(遍历) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int m,cnt = 0; string s, …… 题解列表 2024年09月01日 0 点赞 0 评论 210 浏览 评分:10.0
简单易懂(c语言代码) 摘要:```c #include #include int main() { int n; // 用于存储测试用例的数量 int sign[4]; // 用于标记密码中…… 题解列表 2024年09月01日 1 点赞 0 评论 546 浏览 评分:10.0
python--study||O.o 摘要:参考代码: def main(): n = int(input()) arr = [int(x) for x in input().split()] find = in…… 题解列表 2024年09月02日 0 点赞 0 评论 269 浏览 评分:10.0
python--study||O.o 摘要:参考代码: def main(): n = int(input()) t = dict() mx = -1 for i in range(n): &nb 题解列表 2024年09月02日 0 点赞 0 评论 333 浏览 评分:10.0
1163: 排队买票() 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int N = 11; long long a[N]; //计算卡特兰…… 题解列表 2024年09月02日 0 点赞 0 评论 276 浏览 评分:10.0
简单递归算法 摘要:解题思路:根据题目要求,大母牛每年生一头小母牛,小母牛在第四个年头开始生一头小母牛;观察题例,第二年是2头,第四年是4头,第五年为6头,说明第2年母牛才生的第一头小母牛,(用手指头算算是不是第二年到第…… 题解列表 2024年09月05日 2 点赞 0 评论 386 浏览 评分:10.0