三反转解决整形数组右移问题,仅单一数组解决 摘要:解题思路:移动次数作为解题关键,相当于以移动次数-1的下标为界限划为两部分人进行两次反转排序注意事项:当移动次数大于数组大小n时着前n遍移动无效,所以要求得真正的移动次数参考代码:#include&l…… 题解列表 2026年03月10日 0 点赞 0 评论 11 浏览 评分:0.0
指针数组模拟2维数组(编译器允许可以使用变长数组) 摘要:解题思路:指针数组模拟2维数组(编译器允许可以使用变长数组)注意事项:内存分配(注意释放先行数组即int*再释放指针数组)和对角线上数字求和(奇偶有别,求和逻辑)参考代码:#include <s…… 题解列表 2026年03月10日 0 点赞 0 评论 9 浏览 评分:0.0
编写题解 3325: 蓝桥杯2025年第十六届省赛真题-2025 图形 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int h,w; scanf("%d %d",&h,&w);&…… 题解列表 2026年03月09日 0 点赞 0 评论 34 浏览 评分:0.0
先求每一位的数,存放到数组中 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b[5],n,m; scanf("%d",&a); b[4]…… 题解列表 2026年03月09日 0 点赞 0 评论 21 浏览 评分:0.0
链表合并 ***C语言解题*** 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct Node{ int …… 题解列表 2026年03月09日 0 点赞 0 评论 23 浏览 评分:0.0
最大公约数和最小公倍数 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) …… 题解列表 2026年03月08日 0 点赞 0 评论 33 浏览 评分:0.0
忽略大小写的字符串比较 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <ctype.h>int main(){&…… 题解列表 2026年03月06日 0 点赞 0 评论 34 浏览 评分:0.0
蓝桥杯基础练习VIP-Huffuman树 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;vector<int>…… 题解列表 2026年03月05日 1 点赞 0 评论 30 浏览 评分:8.0
最值问题(动态规划)+ 数学原理(排序不定式) 摘要:解题思路:注意事项:注意设置数据类型为long long参考代码:#include<stdio.h>#include<stdlib.h>int compare(const vo…… 题解列表 2026年03月02日 0 点赞 0 评论 94 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:scanf后面不加&符号参考代码:#include<stdio.h>#include<string.h>int main(){ &nbs…… 题解列表 2026年03月02日 1 点赞 0 评论 50 浏览 评分:0.0