题解 1001: [编程入门]第一个HelloWorld程序(Python代码) 摘要:解题思路:注意事项:参考代码: 方法一:python三引号允许一个字符串跨多行("""" """)b="""**************************Hello World!****…… 题解列表 2022年08月03日 0 点赞 1 评论 618 浏览 评分:9.0
#C++1557——蓝桥杯算法提高VIP-聪明的美食家(序列动态规划) 摘要:参考代码:#include<iostream> using namespace std; int main() { int arr[1005],dp[1005]; int …… 题解列表 2022年08月02日 0 点赞 0 评论 419 浏览 评分:0.0
蓝桥杯2019年第十届国赛真题-最优包含(动态规划) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int dp[1005][1005] = {0};int main(){ st…… 题解列表 2022年08月02日 0 点赞 0 评论 554 浏览 评分:0.0
编写题解 1026: [编程入门]数字逆序输出(函数) 摘要:```c //数字逆序输出 #include //定义逆序函数,void表示无返回类型,Reverse()括号为空表示无实际参数 void Reverse(){ int c[9];//…… 题解列表 2022年08月02日 0 点赞 2 评论 385 浏览 评分:9.9
#C++ 1895——蓝桥杯算法提高VIP-队列操作 摘要:参考代码:#include <iostream> #include <queue> using namespace std; int main() { int n; queue<int…… 题解列表 2022年08月02日 0 点赞 0 评论 420 浏览 评分:0.0
#C++1554——蓝桥杯算法提高VIP-素数求和(构建素数表) 摘要:解题思路: 构建素数表除0,1两个元素外,其余默认标记为0,即素数;用素数去构造非素数,标记为1;参考代码:#include<iostream> #include <cmath> using na…… 题解列表 2022年08月02日 0 点赞 0 评论 433 浏览 评分:0.0
二级C语言-平均值计算常规做法 小白 摘要:``` #include #include // 文件中含有pow函数 int main() { int a,b,c,x; scanf("%d",&x); { a=…… 题解列表 2022年08月02日 0 点赞 0 评论 774 浏览 评分:9.9
菜鸟级别-p(水仙花数判断) 摘要:解题思路:首先了解什么是水仙花数,进而获取一个三位数的每一项数字,最后进行立方和判断注意事项:参考代码:#include<stdio.h>int main(){int a;scanf("%d\n",&…… 题解列表 2022年08月02日 0 点赞 0 评论 378 浏览 评分:0.0
蓝桥杯基础练习VIP-时间转换(5行代码) 摘要:解题思路:用好求余可以很快解决这种转换问题注意事项:参考代码:t = int(input())a = t // 3600 # 时b = t % 3600 // 60 # 分c = t % 60 …… 题解列表 2022年08月02日 0 点赞 0 评论 387 浏览 评分:0.0
看看能否刷经验值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,i,sum=0; scanf("%d\n",&N); int a[N]; for(i=0;i<N;i…… 题解列表 2022年08月02日 0 点赞 0 评论 421 浏览 评分:6.0