蓝桥杯算法提高VIP-数组替换 (*>.<*) 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; void Add (int a[], int m, int b[], int…… 题解列表 2024年11月12日 0 点赞 0 评论 120 浏览 评分:0.0
1207: 字符排列问题(排列组合的思想,合理利用全排列) 摘要:对于该题,通过排列组合的方法简单易懂注意:对于n个数的全排列的最多种类即为n!(n的阶乘)因为给出的数据有重复的字母,而重复的字母会对全排列的种类有影响思路: 以本题所给数据为例:输入四个字…… 题解列表 2024年11月12日 0 点赞 0 评论 336 浏览 评分: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 评论 477 浏览 评分:0.0
屎盆子镶金边教程!!!!! 摘要:#include <stdio.h>#include <string.h>int main() { char part1[] = "Hello "; // 前一段字母,注意这里有个空格 …… 题解列表 2024年11月12日 0 点赞 1 评论 122 浏览 评分:9.9
试了下另一个选项 摘要:解题思路:题目也说了,但好奇试了下,输出no,不行。注意事项:参考代码:#include<studio.h>int main(){ printf("yes"); return…… 题解列表 2024年11月12日 0 点赞 0 评论 128 浏览 评分:9.9
字符串最大跨距(指针方法) 摘要:解题思路:使用strstr函数反复查找寻找到字符串最后出现的位置,最后利用指针相减的特性求出跨距。注意事项:注意录入数据时的格式;注意strstr查找不到字符串时会返回空指针(NULL);重复查找时注…… 题解列表 2024年11月12日 0 点赞 0 评论 241 浏览 评分:9.9
[编程入门]结构体之成绩统计2 摘要:```c #include struct a { char a[30]; char b[30]; //结构体 int c; int d; int e; }…… 题解列表 2024年11月12日 1 点赞 0 评论 476 浏览 评分:9.9
[STL训练]寻梦,无STL纯循环解法! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义整数变量a int a; …… 题解列表 2024年11月12日 0 点赞 0 评论 179 浏览 评分:0.0
注意细节!!!! 摘要:解题思路:注意事项:一定要主要好细节!!!参考代码:#include<stdio.h>int main(){ float x; scanf("%f",&x); if(0<=x&&x<…… 题解列表 2024年11月11日 0 点赞 0 评论 144 浏览 评分:0.0
3岁都能看懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int k; scanf("%d", &k); if (k == 1 || k =…… 题解列表 2024年11月11日 0 点赞 0 评论 501 浏览 评分:9.0