蓝桥杯算法训练VIP-最长字符串 (C语言代码) 摘要:解题思路:输入一个单词判断一次当前所输入的字符串和储存的最长的大小注意事项:getchar()函数放置的位置参考代码:#include<stdio.h> #include<string.h> in…… 题解列表 2019年03月20日 0 点赞 0 评论 1034 浏览 评分:9.9
C语言训练-素数问题 (C语言代码) 摘要:解题思路:参考代码:#include <stdio.h>void main(){ int m; int count=1; scanf("%d",&m); for(int…… 题解列表 2019年03月20日 1 点赞 0 评论 1109 浏览 评分:7.3
蓝桥杯算法提高VIP-和最大子序列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; typedef long long LL; …… 题解列表 2019年03月20日 0 点赞 0 评论 1037 浏览 评分:0.0
蓝桥杯算法提高VIP-多项式输出 (C语言代码) 摘要:解题思路:直接顺序输出,注意多项式的格式问题。注意事项:特别注意的格式:x的次数为1时,输出为x,不是x^1。x的次数为0时,输出为系数。第一项系数为正时,没有+号。参考代码://1512: 多项式输…… 题解列表 2019年03月20日 1 点赞 0 评论 890 浏览 评分:0.0
蓝桥杯算法提高VIP-去注释 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; char str[1000000]; in…… 题解列表 2019年03月20日 0 点赞 0 评论 992 浏览 评分:0.0
C语言训练-百钱百鸡问题 (C语言代码) 摘要:解题思路: 看清楚题目了,兄弟们!!!参考代码:#include <stdio.h>void main(){ int cock,hen,chicken; for(cock=0;coc…… 题解列表 2019年03月20日 1 点赞 0 评论 981 浏览 评分:0.0
蓝桥杯2017年第八届真题-Excel地址 (C++代码) 摘要:解题思路: 本题为常见的进制转化类型问题的升级版,做这题时可以先试着写写进制转化问题,例如十进制转十六进制。其本质解法-》》函数的递归调用。 关键字:递归调用,进制转化注意事项: …… 题解列表 2019年03月20日 3 点赞 0 评论 1339 浏览 评分:9.3
蓝桥杯历届试题-蚂蚁感冒 (C语言代码) 摘要:解题思路:注意事项:参考代码: #include <stdio.h>int abss(int s); //取绝对值int main() { int n, i, count,flag = 0;…… 题解列表 2019年03月20日 0 点赞 0 评论 881 浏览 评分:0.0
蓝桥杯历届试题-翻硬币 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main() { int i, count = 0; char ch_sta…… 题解列表 2019年03月20日 0 点赞 0 评论 1015 浏览 评分:0.0
蓝桥杯算法提高VIP-卡勒沃夫之弱水路三千(提高型) (C++代码) 摘要:解题思路:拓扑排序 当一个点的入度为0时候,那么此刻她是当前女友。注意事项:因为是多组测试数据,因此需要处理好初始化的工作,否则容易出现部分正确的情况。参考代码:#include<iostrea…… 题解列表 2019年03月20日 0 点赞 0 评论 2122 浏览 评分:0.0