蓝桥杯算法提高VIP-数组替换C++ 摘要:```cpp #include #include using namespace std; const int N = 100000; int a[N], b[N]; void add(i…… 题解列表 2022年03月08日 0 点赞 0 评论 577 浏览 评分:9.9
编写题解 1032: [编程入门]自定义函数之字符串连接--字符串连接函数(strcat) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void strCat(char str1[],char str2[]){ printf("%…… 题解列表 2022年03月08日 0 点赞 0 评论 395 浏览 评分:0.0
题解 1206: 字符串问题 摘要:解题思路:1.首先,定义一个字符串2.运用gets函数输入3.获得字符串的长度4.字符串的长度与数组的实际为序大15.从后向前输出字符串注意事项:参考代码:#include<stdio.h> #in…… 题解列表 2022年03月08日 0 点赞 0 评论 426 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接--神奇的是这种方法内存还小 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void strCat(char str1[],char str2[]){ for(int i…… 题解列表 2022年03月08日 0 点赞 0 评论 281 浏览 评分:0.0
编写题解 1033: [编程入门]自定义函数之字符提取--判断是否在另一个字符数组中存在 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void strCat(char str1[],char str2[]){ for(int i…… 题解列表 2022年03月08日 0 点赞 0 评论 278 浏览 评分:0.0
1796: 蛇形填数(二维数组)(思路清晰)(步骤详细) 摘要:图片分析;解题思路: 在执行下一步之前先判断下一个格子是否有数已经填进去了并且是否在方阵范围内。 只有在方阵内并且格子里面没有被填过,则填数,否则改变…… 题解列表 2022年03月08日 1 点赞 0 评论 1707 浏览 评分:10.0
编写题解 1034: [编程入门]自定义函数之数字分离--解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[5]; gets(a); for(int i=0;i<4;i++){ printf("%c…… 题解列表 2022年03月08日 0 点赞 0 评论 270 浏览 评分:0.0
最简单解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a, n; & 题解列表 2022年03月08日 0 点赞 1 评论 482 浏览 评分:9.9
多项式输出题解 摘要:解题思路:注意事项:参考代码:import java.util.LinkedList;import java.util.Scanner;public class Main { public st…… 题解列表 2022年03月08日 0 点赞 0 评论 381 浏览 评分:9.9
编写题解 1035: [编程入门]自定义函数之字符类型统计--ctype.h库 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>#include <ctype.h>//字符串函数包含的头文件int main(){ int…… 题解列表 2022年03月08日 0 点赞 0 评论 375 浏览 评分:0.0