033: [编程入门]自定义函数之字符提取 摘要:```c #include #include using namespace std; int main() { string str; getline(cin…… 题解列表 2023年05月06日 0 点赞 0 评论 188 浏览 评分:0.0
1319: 没有上司的晚会 摘要:```cpp #include #include using namespace std; const int maxn=6001; int n,dp[maxn][2],hap[maxn];…… 题解列表 2023年05月06日 0 点赞 0 评论 350 浏览 评分:9.9
2233: 蓝桥杯算法训练-图形显示(c++代码) 摘要:解题思路:通过倒序循环来完成“*”和“ ”的输出;注意事项:空格和换行不要忘了哦参考代码:#include<iostream>using namespace std;int main(){ in…… 题解列表 2023年05月06日 0 点赞 0 评论 203 浏览 评分:9.9
1029题 : 自定义函数处理素数 摘要:# 自己写的代码 ```c #include int main() { int SuShu_Panduan(); int N,i=2; scanf("%d",&…… 题解列表 2023年05月06日 0 点赞 0 评论 167 浏览 评分:0.0
1028题: 自定义函数求一元二次方程 摘要:# 自己写的代码 这道题不会,还是涉及主函数调用,另外关于二次函数的求解也不会用表达式表示 # 参考代码1 ```c #include #include DAYL(float a, flo…… 题解列表 2023年05月06日 0 点赞 0 评论 257 浏览 评分:0.0
1027题:自定义函数处理最大公约数与最小公倍数 摘要:# 自己写的代码 自己没有写出来,主要对于主函数调用无从下手 # 参考代码1 ```c #include int main(void) { int a,b,c=1,j; …… 题解列表 2023年05月06日 0 点赞 0 评论 167 浏览 评分:0.0
蓝桥杯2023年第十四届省赛真题-子矩阵-二维滑动窗口+单调队列 摘要:先用滑动窗口求行的最大值,再对列求最大值,最后相乘求和取模即可from collections import deque def maxWindows(num,size): #求滑动窗口最大值…… 题解列表 2023年05月06日 0 点赞 3 评论 1365 浏览 评分:6.0
1026题 : 数字逆序输出 摘要:# 自己写的代码 ```c #include int main() { int a[10]; int temp; for(int i=0;i=0;i--){ pri…… 题解列表 2023年05月06日 0 点赞 0 评论 217 浏览 评分:0.0
1025题: 数组插入处理 摘要:# 自己写的代码 ```c #include int main() { int a[10]; for(int i=0;i…… 题解列表 2023年05月06日 0 点赞 0 评论 209 浏览 评分:0.0
题目 1023: [编程入门]选择排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i, j, temp; int arr[10] = {0}; for (i=0;…… 题解列表 2023年05月06日 0 点赞 0 评论 182 浏览 评分:0.0