刷题记录2025/12/17 1009: [编程入门]数字的处理与判断 摘要:我太菜了注意事项:参考代码:#include<stdio.h>int main(){ int n; int a,b,c,d,e; scanf("%d",&n);…… 题解列表 2025年12月17日 6 点赞 0 评论 381 浏览 评分:6.0
2844: 大整数的因子 文章 > 编写题解 摘要:解题思路:直接看代码注释吧。注意事项:处理长整数问题的思路都一样,先把长整数当成字符存入字符型数组,然后用字符-‘0’的方法将字符转化成数组存入整型数组中,再将一个个分散的数字拼接成一个整数,进行下一…… 题解列表 2025年12月16日 1 点赞 0 评论 158 浏览 评分:10.0
蓝桥杯算法提高VIP-单词个数统计 摘要:解题思路:使用getline和for循环编写,没有任何技术含量注意事项:别忘导入cstring库参考代码:#include<iostream>#include<cstring>…… 题解列表 2025年12月16日 0 点赞 0 评论 141 浏览 评分:10.0
组合输出(从n个数中选择r个数 进行组合)利用深度优先遍历 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int n,r,arr[22];void dfs(int step, int flag){ if(…… 题解列表 2025年12月15日 0 点赞 0 评论 133 浏览 评分:0.0
2849:石头剪刀布 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); char player1[…… 题解列表 2025年10月31日 1 点赞 0 评论 243 浏览 评分:0.0
分解因数(一个数 因数的组合有多少个 利用递归) 摘要:解题思路:注意事项:每一个数都进行寻找因数(小于根号下)参考代码:#include<stdio.h>int count;int fn(int x, int k){ …… 题解列表 2025年12月15日 0 点赞 0 评论 166 浏览 评分:0.0
2842: 大整数减法 摘要:解题思路:看代码注释吧,应该比较明了注意事项:参考代码:#include<stdio.h>#include<string.h>intmain…… 题解列表 2025年12月15日 1 点赞 0 评论 150 浏览 评分:10.0
简单易懂百钱买百鸡 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; for(a=0;a<=20;a+…… 题解列表 2025年12月15日 0 点赞 0 评论 203 浏览 评分:0.0
编写题解 3347: 蓝桥杯2025年第十六届省赛真题-冷热数据队列 (注释清晰,简单易懂) 摘要:解题思路:看注释注意事项:看注释参考代码:#include<stdio.h>#include<stdlib.h> &nbs…… 题解列表 2025年07月31日 4 点赞 1 评论 525 浏览 评分:0.0
[编程入门]原码求补码 摘要:#include<stdio.h>#include<string.h> // 用于strlen校验输入长度// 二进制字符串加一函数(补码转换需要:反码+1)void bina…… 题解列表 2025年12月14日 1 点赞 0 评论 143 浏览 评分:0.0