信息学奥赛一本通T1317-组合的输出 摘要:#include<stdio.h>int n,r;int arr[22];void fun(int x,int start){ …… 题解列表 2025年10月30日 0 点赞 0 评论 67 浏览 评分:0.0
2834:统计与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; scanf("%d",&n);//n个数据 int a…… 题解列表 2025年10月30日 0 点赞 0 评论 154 浏览 评分:0.0
编写题解 1551: 蓝桥杯算法提高VIP-种树 一点点想法 摘要:解题思路:分两种情况,要么选首元素,要么选尾元素,避免首尾冲突注意事项:n=1时,仅m=1有效环形数组选不相邻m个,有效范围是 1<=m<=n/2参考代码:#inc…… 题解列表 2025年10月30日 2 点赞 1 评论 90 浏览 评分:10.0
1738:多组测试数据,实现从大到小排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int i,j,a[n…… 题解列表 2025年10月30日 1 点赞 0 评论 104 浏览 评分:10.0
[编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void find_char(char *str, char *resu…… 题解列表 2025年10月30日 0 点赞 0 评论 114 浏览 评分:10.0
适合新手的题解 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double b;i…… 题解列表 2025年10月30日 0 点赞 0 评论 75 浏览 评分:2.0
3010:n以内的奇数偶数之和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i=1,n,sum1=0,sum2=0; scanf("%d",&…… 题解列表 2025年10月30日 0 点赞 0 评论 102 浏览 评分:0.0
2000:列举小于n的偶数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i=1,n; scanf("%d",&n); while(i&l…… 题解列表 2025年10月30日 0 点赞 0 评论 115 浏览 评分:0.0
2544:N以内的数累加求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i=1,sum=0; scanf("%d"…… 题解列表 2025年10月30日 0 点赞 0 评论 130 浏览 评分:0.0
字符串连接 摘要:解题思路:注意事项:连接的时候可以用数组形式赋值也可以用指针形式赋值,但是其实最后可以加一个长度限制的判断参考代码:#include <stdio.h>#include <strin…… 题解列表 2025年10月29日 1 点赞 0 评论 194 浏览 评分:10.0