自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void copy(char a[], char b[]){ int length,j=0; len…… 题解列表 2021年02月25日 0 点赞 0 评论 356 浏览 评分:0.0
1110: 2^k进制数(C语言代码) 递归回溯 摘要:解题思路:这道题用回溯思想比较好理解,因为每一位都比右边一位小,所以从左到右逐位确定比较方便确定每一位数都要递归一次,每一个递归里都有一个循环,从本位的最小值(前一位的值加一)循环到最大值循环内继续向…… 题解列表 2021年02月25日 0 点赞 0 评论 660 浏览 评分:0.0
蓝桥杯][算法提高VIP]栅格打印问题 摘要:a , b =map(int, input().split()) if a> 0 and b>0: for i in range(a): for j in range(b…… 题解列表 2021年02月25日 0 点赞 0 评论 679 浏览 评分:0.0
C语言保留字母 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100],b[100]; int j=0; gets(a); …… 题解列表 2021年02月25日 0 点赞 0 评论 400 浏览 评分:0.0
字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100], b[100]; int j = 0; gets(a…… 题解列表 2021年02月25日 0 点赞 0 评论 312 浏览 评分:0.0
题解 1171: 蟠桃记(Java) 摘要: import java.util.Scanner; public class Main { public static void main(String…… 题解列表 2021年02月25日 0 点赞 0 评论 613 浏览 评分:0.0
三个数找最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3]; int i; int temp; for(i=0;i<3;i++){…… 题解列表 2021年02月25日 0 点赞 0 评论 594 浏览 评分:0.0
蓝桥杯基础练习VIP-报时助手 摘要: Scanner scanner=new Scanner(System.in); int h=scanner.nextInt(); int m=scanner.nextInt(); …… 题解列表 2021年02月25日 0 点赞 0 评论 437 浏览 评分:0.0
题解 1638: 蓝桥杯算法训练VIP-新生舞会(Java) 摘要: import java.util.Scanner; class STU { String name,num; char se…… 题解列表 2021年02月25日 0 点赞 0 评论 406 浏览 评分:0.0
用双向链表解决报数问题 摘要:解题思路:建立双向链表,如果从链表第一个结点为1 ,第三个结点即为3,用于记录删减结点个数的m加1,free掉数据域为3的结点,同时指针往右移动一位,读数重新读为1。依次循环。直到m的个数为总数-1,…… 题解列表 2021年02月26日 0 点赞 0 评论 591 浏览 评分:0.0