1575: 蓝桥杯算法提高VIP-递归倒置字符数组(真·递归解法) 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2023年03月24日 0 点赞 0 评论 142 浏览 评分:0.0
递归倒置字符数组简便解法 摘要:n=list(input().split()) x=[] for i in n[1]: x.append(i) m=int(n[0])//2 a=0 b=int(n[0])-1 …… 题解列表 2023年03月31日 0 点赞 0 评论 169 浏览 评分:0.0
随便写写,哈哈哈哈哈哈哈哈哈 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int n;string f(char ch[], int i) { //一个retu…… 题解列表 2023年03月31日 0 点赞 0 评论 199 浏览 评分:0.0
蓝桥杯算法提高VIP-递归倒置字符数组 (C语言代码) 摘要:解题思路:参考前一位用c编写的注意事项:奇数偶数,不要在循环末尾输出两排一样的字符串。参考代码:#include<stdio.h>#include<string.h>int main(){int i,…… 题解列表 2018年08月16日 1 点赞 0 评论 1288 浏览 评分:0.0
蓝桥杯算法提高VIP-递归倒置字符数组 (C++代码) 摘要:解题思路:参考代码:#include<bits/stdc++.h> using namespace std; void cov(char str[], int L, int R) { if…… 题解列表 2018年07月21日 2 点赞 0 评论 840 浏览 评分: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
这个题细节很多,wa了很多次 摘要:#include<bits/stdc++.h> using namespace std; int main() { int n; string s; cin>>n>…… 题解列表 2024年08月08日 0 点赞 0 评论 226 浏览 评分:0.0
C++使用Swap函数倒置字符串 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int num = 0;// 读入字符串长度 cin >…… 题解列表 2024年10月07日 0 点赞 0 评论 286 浏览 评分:0.0
花落的新手代码(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; inline void exchange(char &a,char &b) { …… 题解列表 2018年03月16日 0 点赞 0 评论 935 浏览 评分:0.0
编写题解 1575: 蓝桥杯算法提高VIP-递归倒置字符数组(注释清晰 简单易懂) 摘要:解题思路: 递归解题注意事项: &nb…… 题解列表 2025年08月20日 0 点赞 0 评论 77 浏览 评分:0.0