蓝桥杯算法提高VIP-超级玛丽 (C++代码) 摘要:#include <bits/stdc++.h> using namespace std; map<int,int>a; int k=0; int dfs(int x,int n) { …… 题解列表 2019年01月26日 0 点赞 0 评论 958 浏览 评分:0.0
DNA (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int DNA[50][50]; int n,a,b; int i,j;…… 题解列表 2019年01月26日 0 点赞 0 评论 1127 浏览 评分:0.0
蓝桥杯历届试题-蚂蚁感冒 (C语言代码) 摘要:解题思路: 借鉴了大佬们的思路QWQ注意事项:参考代码:#include <stdio.h> #include <stdlib.h> int main(){ int my[50] = {0};…… 题解列表 2019年01月26日 0 点赞 0 评论 727 浏览 评分:0.0
蓝桥杯基础练习VIP-报时助手 (C++代码) 摘要:解题思路:确定好小时的范围,分钟的范围,整一个switch循环期待更简洁的代码!!!!参考代码:#include <iostream>using namespace std;void display(…… 题解列表 2019年01月26日 0 点赞 0 评论 837 浏览 评分:4.0
【排队买票】 (C语言代码)全排列问题 摘要:参考代码:#include<stdio.h> #include<stdlib.h> int m,n,k; int cnt=0; void perm(int*,int); int ma…… 题解列表 2019年01月26日 0 点赞 0 评论 1195 浏览 评分:9.9
求阶梯水费 (C语言代码) 摘要:解题思路:看代码就完事了注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); if(x<15) …… 题解列表 2019年01月26日 6 点赞 0 评论 1400 浏览 评分:0.0
蛇行矩阵 (C++代码) 摘要:解题思路:找规律文通,可以有多种思路。我的是考虑按照数字的增长来的,1的下标为(0,0),总和为0。2 3 的下标为(1,0)和(0,1),总和是1。同理接下来的数字。找到下标的规律之后就可以利用规律…… 题解列表 2019年01月26日 0 点赞 0 评论 627 浏览 评分:0.0
蛇行矩阵 (Java代码) 摘要:解题思路:注意事项:参考代码:public static int f(int m) { if(m==0) return 1; return f(m-1)+m; } public …… 题解列表 2019年01月26日 0 点赞 0 评论 438 浏览 评分:0.0
字符串的输入输出处理 (Java代码) 摘要:解题思路:注意事项:参考代码: Scanner sc = new Scanner(System.in); String a = sc.nextLine(); String[] s = new S…… 题解列表 2019年01月26日 0 点赞 1 评论 358 浏览 评分:0.0
蓝桥杯算法提高VIP-聪明的美食家 (C++代码) 摘要:解题思路:最长不降序序列参考代码:#include <bits/stdc++.h> using namespace std; #define N 1002 int rec_dp(int a[]…… 题解列表 2019年01月26日 1 点赞 1 评论 1004 浏览 评分:7.3