奇数单曾序列,用一个数组解决 摘要:解题思路:使用的是选择排序注意事项:在打印逗号时,利用状态标记,符合奇数,改变状态,打印逗号参考代码:#include<stdio.h>#include<string.h>int main(){ …… 题解列表 2024年11月12日 0 点赞 0 评论 279 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; char c; scanf("%d %d %c",&a,&b,&c); …… 题解列表 2024年11月12日 0 点赞 0 评论 238 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:把形成三角形的必要条件补充完整参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&…… 题解列表 2024年11月12日 0 点赞 0 评论 176 浏览 评分:0.0
[STL训练]百步穿杨........ 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义结构体aaa,包含两个整数成员c和k struct aaa{ …… 题解列表 2024年11月12日 0 点赞 0 评论 125 浏览 评分:0.0
string的find函数 #2304: 蓝桥杯2019年第十届省赛真题-特别数的和 摘要:``` #define _CRT_SECURE_NO_WARNINGS 1 #include #include #include #include #include #include …… 题解列表 2024年11月12日 0 点赞 0 评论 114 浏览 评分:0.0
二级C语言-等差数列-题解(C语言代码) 摘要:解题思路:开头设置sum为-1;取巧注意事项:i<n参考代码:int main(){ int i, n,m=0; int sum = -1; scanf("%d", &n); for (i = 0; …… 题解列表 2024年11月12日 0 点赞 0 评论 217 浏览 评分:0.0
蓝桥杯算法提高VIP-数组替换 (*>.<*) 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; void Add (int a[], int m, int b[], int…… 题解列表 2024年11月12日 0 点赞 0 评论 121 浏览 评分:0.0
1207: 字符排列问题(排列组合的思想,合理利用全排列) 摘要:对于该题,通过排列组合的方法简单易懂注意:对于n个数的全排列的最多种类即为n!(n的阶乘)因为给出的数据有重复的字母,而重复的字母会对全排列的种类有影响思路: 以本题所给数据为例:输入四个字…… 题解列表 2024年11月12日 0 点赞 0 评论 340 浏览 评分:9.9
用c语言解决字符串分类统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { char ch;int j,z,k,s; j=z=k=s=0; while((ch=getc…… 题解列表 2024年11月12日 1 点赞 0 评论 481 浏览 评分:0.0
屎盆子镶金边教程!!!!! 摘要:#include <stdio.h>#include <string.h>int main() { char part1[] = "Hello "; // 前一段字母,注意这里有个空格 …… 题解列表 2024年11月12日 0 点赞 1 评论 123 浏览 评分:9.9