编写题解 1575: 蓝桥杯算法提高VIP-递归倒置字符数组(注释清晰 简单易懂) 摘要:解题思路: 递归解题注意事项: &nb…… 题解列表 2025年08月20日 0 点赞 0 评论 78 浏览 评分:0.0
不用多余变量完成 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void dg(int n, char* arr){ if (n - strlen(arr…… 题解列表 2024年03月07日 1 点赞 0 评论 312 浏览 评分:0.0
1575: 蓝桥杯算法提高VIP-递归倒置字符数组 摘要:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); char a[n]; char…… 题解列表 2022年09月05日 0 点赞 0 评论 183 浏览 评分:0.0
1575: 蓝桥杯算法提高VIP-递归倒置字符数组 摘要:解题思路:注意事项:参考代码:#include <stdio.h> void digui(char *str, int m, int n) { if(n <= m) {…… 题解列表 2022年04月18日 0 点赞 0 评论 147 浏览 评分:0.0
抄别人的,没读懂题目,收尾交换.中间倒序 摘要:#include <stdio.h> #include <string.h> void reverse(char* s, int L, int R){ if(L >= R) return…… 题解列表 2022年01月26日 0 点赞 0 评论 138 浏览 评分:0.0
递归倒置字符数组 摘要:解题思路:如题,定义函数并递归注意事项:这个代码是运行错误的,但答案一致,只供参考,请勿直接复制粘贴参考代码:#include<stdio.h>#include<string.h>char* reve…… 题解列表 2021年12月13日 0 点赞 0 评论 279 浏览 评分:0.0
蓝桥杯算法提高VIP-递归倒置字符数组 摘要:#include #include #include typedef char elemType; void reverse(char *str,int *i); void swap(void…… 题解列表 2021年12月01日 0 点赞 0 评论 265 浏览 评分:0.0
复制加粘贴,代码远离你。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define N 100void mychar(int n,int m,char ch[]){ …… 题解列表 2021年11月11日 0 点赞 0 评论 256 浏览 评分:0.0
花落的新手代码(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; inline void exchange(char &a,char &b) { …… 题解列表 2018年03月16日 0 点赞 0 评论 935 浏览 评分:0.0
蓝桥杯算法提高VIP-递归倒置字符数组-题解(C语言代码) 摘要:解题思路: 每次进入递归,首先判断是否到递归尽头(if判断)。start>end对应的是n为偶数的情况,start==end对应的是n为奇数的情况,这里需要思考一下~注意事项: …… 题解列表 2020年09月11日 0 点赞 0 评论 239 浏览 评分:0.0