蓝桥杯2013年第四届真题-格子刷油漆-DFS(C++代码) 摘要: 我不会告诉你DFS会超时; #include #include #include using namespace std; const int ma…… 题解列表 2020年03月12日 0 点赞 2 评论 1221 浏览 评分:5.3
蓝桥杯算法训练VIP-寂寞的数-题解(Python代码)python开荒柘,简单题,筛法变形 摘要:```python n=int(input()) L=[] for i in range(n+1): L.append(i) re=[] point=0 while point…… 题解列表 2020年03月29日 0 点赞 0 评论 756 浏览 评分:5.3
蓝桥杯2018年第九届真题-矩阵求和-题解(C++代码)思路,没有AC 摘要: int n;cin>>n; int sum=0,sum_v; for(int j=1;j…… 题解列表 2020年03月30日 0 点赞 0 评论 1156 浏览 评分:5.3
数列排序-题解(C++代码) 摘要:```cpp #include #include #include using namespace std; int main(){ queue q;//大的用队列 st…… 题解列表 2020年04月19日 0 点赞 0 评论 618 浏览 评分:5.3
数字统计-题解(C++代码) 摘要:```cpp #include using namespace std; int v[10]; int f(int n){//获取位数 int sum=1; while(1…… 题解列表 2020年04月19日 0 点赞 0 评论 1100 浏览 评分:5.3
信息学奥赛一本通T1245-不重复地输出数-题解(C语言代码) 摘要:#include main() { int n,a[100000],i,j,temp,p; scanf("%d",&n); for(i=1;i…… 题解列表 2020年04月27日 0 点赞 1 评论 1004 浏览 评分:5.3
蓝桥杯2019年第十届真题-糖果-题解(C++代码) 摘要:constexpr auto Inf = 0X3F3F3F3F; #ifndef LOCAL #include <bits/stdc++.h> #endif typedef long l…… 题解列表 2020年09月09日 0 点赞 0 评论 1667 浏览 评分:5.3
优质题解 [编程入门]求一元二次方程(非自定义函数)-题解(Python代码) 摘要:解题思路:1、使用求根公式,并对公式进行化简2、分别讨论b²-4ac大于、小于、等于0的情况3、当b²-4ac小于0时,由于无实数解,需要进行复数格式化(考虑用format进行输出)注意事项:需要注意…… 题解列表 2021年01月18日 0 点赞 2 评论 3008 浏览 评分:5.3
[编程入门]利润计算-题解(Python代码) 摘要:I = int(input())if I <=100000: I = I*0.1 print(int(I))elif 100000< I <=200000: I = 100000*0…… 题解列表 2021年02月18日 0 点赞 1 评论 771 浏览 评分:5.3
母牛的故事Python 9行解法 摘要:解题思路:注意事项:参考代码:list = [1,2,3]##第一年1只,第二年2只,第三年3只 for i in range(3,1000): list.append(list[i-1]…… 题解列表 2021年04月15日 0 点赞 0 评论 573 浏览 评分:5.3