蓝桥杯2014年第五届真题-分糖果 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 32 2 41 1 21+1=2 1+2=3 2+1=3 2 题解列表 2019年04月19日 0 点赞 0 评论 982 浏览 评分:9.9
蓝桥杯历届试题-国王的烦恼 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>typedef struct node{ int x,y,z;} L;L a[10050];void…… 题解列表 2019年04月21日 0 点赞 0 评论 1027 浏览 评分:9.9
C语言训练-排序问题<2> (C++代码) 摘要:解题思路:sort 自定义排序规则注意事项:参考代码:#include <bits/stdc++.h>using namespace std;bool cmp(int a,int b){ return…… 题解列表 2019年04月21日 0 点赞 0 评论 603 浏览 评分:9.9
[编程入门]选择排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.header>int m (){ int m,i,j,a[10]; for(i=0;i<10;i++) { scanf("%d",&a…… 题解列表 2019年04月22日 1 点赞 9 评论 4592 浏览 评分:9.9
永远的丰碑 (C语言代码)大连交通大学的番可以结束了吧?这题是找最大值!! 摘要:解题思路:找最大值注意事项:1,max在该题是可以赋值0,因为高度不为负数,但是若是有负数,则应该赋值a[0]; 2,max=a[0]应该放在输入后,否则答案错误百分之五…… 题解列表 2019年04月23日 0 点赞 0 评论 871 浏览 评分:9.9
迷宫问题 (C++代码)BFS模板 摘要:解题思路: 几乎可以说是一个模板题目,记得收藏这种模板,BFS的模板参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(f…… 题解列表 2019年04月24日 0 点赞 2 评论 1630 浏览 评分:9.9
输出字符'A'个数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,m; scanf("%d",&m); for(i=0;i<m;i++) printf("A"); …… 题解列表 2019年04月24日 0 点赞 0 评论 493 浏览 评分:9.9
Minesweeper (C++代码)Do you know Minesweeper? 摘要:解题思路: Do you know Minesweeper? It's mean "扫雷" 扫雷玩过没有?没有的话自己打开系统自带的游戏——扫雷,玩一下。 其主…… 题解列表 2019年04月28日 2 点赞 0 评论 780 浏览 评分:9.9
蓝桥杯算法提高VIP-五次方数 (C语言代码)本题:如何判断边界! 摘要:本来我的题目是从1开始的数据,这样比现在这个答案要多出一个1数据作为答案(1的5次方=1)但是发现这样错了范围的推理过程如下:上边界:以单位数最大值9为边界,9^5=59049 是五位数字,那么5位数…… 题解列表 2019年04月29日 1 点赞 7 评论 2415 浏览 评分:9.9
【计算球体积】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>int main(){ using namespace std; double r; while(c…… 题解列表 2019年04月29日 0 点赞 0 评论 1470 浏览 评分:9.9