输出一个整数序列中与指定数字相同的数的个数。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,x,count=0,y; scanf("%d\n",&n); int a[n]; …… 题解列表 2024年04月21日 1 点赞 0 评论 605 浏览 评分:7.0
二级C语言-自定义函数 摘要:解题思路: 采用递归求解注意事项: 包含#include<iomanip>以保证输出4位小数;参考代码:#include<iostream> using namespace std; #inclu…… 题解列表 2024年08月10日 0 点赞 0 评论 524 浏览 评分:7.0
矩阵交换行 摘要:解题思路:注意事项:代码说明宏定义:#define SIZE 5 定义了矩阵的大小为5x5。swapRows函数:该函数用于交换矩阵中的两行。它使用一个临时数组 temp 来存储要交换的行元素。pri…… 题解列表 2024年10月10日 0 点赞 0 评论 583 浏览 评分:7.0
肺雾解法(规律通过deepseek找到) 摘要:解题思路:我这个代码有问题一点点问题,但是能得满分我也不知道为什么,当输入1的时候,是不会输出A。就是找到规律进行交换,当我看到第一眼的时候,我没找到规律,肺雾了,然后试试了最新的deepseek 帮…… 题解列表 2025年02月05日 0 点赞 0 评论 735 浏览 评分:7.0
C语言通用解法,通用解法 摘要:```c#include int main() { char s[10]; scanf("%s",s); int i=0; while(s[i]!…… 题解列表 2025年03月07日 38 点赞 0 评论 2827 浏览 评分:7.0
< 蓝桥杯C++ > 2024年第十五届省赛真题-宝石组合 摘要:**参考代码链接:[[第十五届蓝桥杯C++B组真题-宝石组合]][1]**[1]: https://blog.dotcpp.com/a/104419---# 题目思路题目公式 …… 题解列表 2025年03月11日 5 点赞 0 评论 1764 浏览 评分:7.0
蓝桥杯2025年第十六届省赛真题-最多次数 摘要:解题思路:1. **理解问题**:我们需要在字符串 `s` 中找出尽可能多的子字符串,每个子字符串必须是长度为 3 的序列,且只能包含字符 'l', 'q', 'b',并且组成的单词需要是小蓝喜欢…… 题解列表 2025年04月19日 6 点赞 0 评论 672 浏览 评分:7.0
1为真,0为假 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b, c, d; cin >> …… 题解列表 2025年09月08日 1 点赞 0 评论 266 浏览 评分:7.0
哥德巴赫曾猜测思路简单解 摘要:解题思路:注意事项:参考代码:#include<iostream>#define MAX 32767using namespace std;bool isPrime(int num){&n…… 题解列表 2025年09月29日 0 点赞 0 评论 331 浏览 评分:7.0
计算数字位数and逆序和顺序输出 摘要:#include<stdio.h>#include<math.h>int main(){ int n, m, y, i, j, k = 1; …… 题解列表 2025年10月09日 3 点赞 0 评论 1074 浏览 评分:7.0