蓝桥杯2017年第八届真题-填字母游戏 (C++代码) 摘要:解题思路: 这题数据以前是很水的,现在貌似更新到官方数据了。 还是跟以前的思路一样,搜索加个记忆化,注意这里不要用 map ,map 会大大增加复杂度(那么答案只有一个了)…… 题解列表 2019年03月21日 1 点赞 6 评论 1291 浏览 评分:9.9
数字整除 (C++代码) 摘要:解题思路:看题目数据范围,肯定是大数啦,用字符数组读取,然后再减去‘0’就是对应的数字了。然后把每个得到的数字对17取余,余数*10到加到下一位,继续取余,最后直接判断余数是否为0就OK了。注意事项:…… 题解列表 2018年07月24日 0 点赞 1 评论 1689 浏览 评分:9.9
可AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> int main() { //num[]数组代表结果,用于计算;…… 题解列表 2018年09月09日 5 点赞 1 评论 1311 浏览 评分:9.9
可AC (C语言代码) 摘要:解题思路: 杨辉三角的模型 . 注意事项: 输入n,输出n+1行; 主要注意输出格式. 参考代码: #include<stdio.h> int main() { i…… 题解列表 2018年07月26日 1 点赞 0 评论 1493 浏览 评分:9.9
可 ( AC ) (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> int main() { int n, i, j; while (…… 题解列表 2018年07月28日 4 点赞 3 评论 659 浏览 评分:9.9
可 AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<stdlib.h> typedef struct stu { char name[25…… 题解列表 2018年07月30日 1 点赞 1 评论 411 浏览 评分:9.9
可AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> int main() { unsigned int a, m, sum…… 题解列表 2018年07月31日 3 点赞 1 评论 1041 浏览 评分:9.9
可 AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> void move(unsigned int value,int n) …… 题解列表 2018年07月31日 2 点赞 1 评论 807 浏览 评分:9.9
众数问题 (C语言代码) 摘要:解题思路:首先,定义结构体数组S,其中的元素不仅有值,还有该值在S中出现的次数。对于输入的每个自然数s,若其值在S中出现过,就令其出现的次数加1,若出现的次数比已知最大的重数多,就更新当前最大的重数;…… 题解列表 2018年07月31日 3 点赞 0 评论 2255 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:首先是考虑到的是三个整数,所以a,b,c的类型定义为int;其次考虑到这三个整数是通过键盘输入的,所以使用到scanf("%d%d%d",&a,&b,&c);函数。一定不能漏了&,因为是整数…… 题解列表 2018年07月31日 0 点赞 4 评论 2566 浏览 评分:9.9