蓝桥杯2013年第四届真题-核桃的数量 (C语言代码) 摘要:解题思路: 找到一个值是3的倍数且同余,那么该值就是结果QWQ注意事项: 参考代码:#include <stdio.h> int main(){ int i = 3; int a,b,c;…… 题解列表 2019年01月25日 0 点赞 0 评论 441 浏览 评分:0.0
【出圈】 (C语言代码)C语言函数模块化 摘要:解题思路:参考代码:#include<stdio.h> #include<stdlib.h> int n,m; int *a; void init(); void count_off…… 题解列表 2019年01月25日 1 点赞 0 评论 711 浏览 评分:0.0
【回文数(二)】 (C语言函数模块化) 摘要:解题思路:参考代码:#include <stdio.h> #include <string.h> int ishw(char *m) { int len=strlen(m);…… 题解列表 2019年01月25日 0 点赞 0 评论 732 浏览 评分:0.0
蓝桥杯算法提高VIP-棋盘多项式 (C++代码)dfs 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<string.h>using namespace std;int n,map[…… 题解列表 2019年01月25日 1 点赞 0 评论 809 浏览 评分:0.0
字符串的输入输出处理 (Java代码) 摘要:解题思路:注意事项:参考代码: Scanner sc = new Scanner(System.in); String a = sc.nextLine(); String[] s = new S…… 题解列表 2019年01月26日 0 点赞 1 评论 290 浏览 评分: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 评论 355 浏览 评分:0.0
蛇行矩阵 (C++代码) 摘要:解题思路:找规律文通,可以有多种思路。我的是考虑按照数字的增长来的,1的下标为(0,0),总和为0。2 3 的下标为(1,0)和(0,1),总和是1。同理接下来的数字。找到下标的规律之后就可以利用规律…… 题解列表 2019年01月26日 0 点赞 0 评论 543 浏览 评分:0.0
求阶梯水费 (C语言代码) 摘要:解题思路:看代码就完事了注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d",&x); if(x<15) …… 题解列表 2019年01月26日 6 点赞 0 评论 1290 浏览 评分:0.0
蓝桥杯历届试题-蚂蚁感冒 (C语言代码) 摘要:解题思路: 借鉴了大佬们的思路QWQ注意事项:参考代码:#include <stdio.h> #include <stdlib.h> int main(){ int my[50] = {0};…… 题解列表 2019年01月26日 0 点赞 0 评论 559 浏览 评分:0.0
蓝桥杯2014年第五届真题-兰顿蚂蚁 (C语言描述,思路清晰) 摘要:解题思路: 有上下左右有4种情况,黑白有两种情况,分别组合分析就有8种可能,把上下左右用1234分别代替,代表4种情况。注意事项: 要知道走0步也要算在内,不然容易算错(菜菜的我因为忘记走…… 题解列表 2019年02月13日 4 点赞 0 评论 1057 浏览 评分:0.0