蓝桥杯2013年第四届真题-核桃的数量 (C语言代码)理论上,要求最小公倍数,但是我要暴力破解 摘要:解题思路:很简单,看代码注意事项:无参考代码:#include<stdio.h>int main (){ int a,b,c; int i; scanf("%d%d%d",&a,&…… 题解列表 2019年04月26日 1 点赞 3 评论 1439 浏览 评分:9.0
C二级辅导-分段函数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x; float y; scanf("%d",&x); if(x<1) y=x; else if(x>=…… 题解列表 2019年04月26日 0 点赞 0 评论 1049 浏览 评分:9.0
蓝桥杯算法提高VIP-盾神与条状项链 (C++代码) 摘要:解题思路:用vector动态数组存数,剩下的很简单,就写我人生中第一篇题解吧hh注意事项:注意插入的参数要加上数组的起始地址参考代码: #include <iostream> #include <…… 题解列表 2019年04月27日 1 点赞 0 评论 835 浏览 评分:9.0
C语言考试练习题_一元二次方程 (C语言代码) 摘要:解题思路:会输入输出吧?输入a,b,c,输出两个结果(用float),中间带上公式,就完事了注意事项:给你公式参考代码:#include<stdio.h>#include<math.h>int mai…… 题解列表 2019年04月27日 1 点赞 0 评论 681 浏览 评分:9.0
敲七游戏 (C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h> int main() 题解列表 2019年05月01日 0 点赞 0 评论 2133 浏览 评分:9.0
找寻小妖 (C++代码) 摘要:解题思路:标准的BFS模板题 跑一遍即可注意事项:参考代码:#include<bits/stdc++.h> using namespace std; const int maxn 105; ch…… 题解列表 2019年05月14日 0 点赞 0 评论 706 浏览 评分:9.0
【偶数求和】 (C语言代码)等差数列求平均数公式,代码超短 摘要:解题思路:等差数列求和公式为:sum=(首项+末项)*项数/2avg=sum/项数∴avg=(首项+末项)/2注意事项:参考代码:#include<stdio.h> int main() { …… 题解列表 2019年05月17日 1 点赞 0 评论 2722 浏览 评分:9.0
蓝桥杯2017年第八届真题-分考场 (C++代码)图的染色 摘要: #include "stdio.h" #include "stdlib.h" #include "iostream" #include "string.h" …… 题解列表 2019年05月19日 4 点赞 0 评论 1526 浏览 评分:9.0
[编程入门||算法进阶]筛选N以内的素数 (C++代码),真正の筛法求素数教学 摘要:首先,大家都了解素数的定义,所以根据定义,该题有了如下写法(大多数题解的写法) ```cpp #include using namespace std; int judge(int x)//判…… 题解列表 2019年06月12日 3 点赞 6 评论 2425 浏览 评分:9.0
题解-1647题-取巧判断(C++代码) 摘要: ``` #include using namespace std; int main(){ int m; cin>>m; if(m==153||m==370||…… 题解列表 2019年06月16日 4 点赞 2 评论 626 浏览 评分:9.0