蓝桥杯算法提高VIP-队列操作 摘要:解题思路:理解好头指针front 和尾指针 rear 的位置即可当两个相等时 :队列为空当rear==数组长度减一时:队列为满计算队列大小即:尾指针减头指针注意事项:参考代码:import java.…… 题解列表 2023年07月09日 0 点赞 0 评论 441 浏览 评分:9.9
题解: 正常血压 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a,b,z=0,maxx=0; c…… 题解列表 2023年07月09日 0 点赞 0 评论 319 浏览 评分:9.9
2813: 药房管理 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int m,n,q,ans=0; cin>>m>>n; fo…… 题解列表 2023年07月10日 0 点赞 0 评论 393 浏览 评分:9.9
统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a,ans=0; cin >>n; …… 题解列表 2023年07月10日 0 点赞 0 评论 319 浏览 评分:9.9
求分数序列和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double s=0,p=1,q=…… 题解列表 2023年07月10日 0 点赞 0 评论 374 浏览 评分:9.9
计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double s=0; ci…… 题解列表 2023年07月10日 0 点赞 0 评论 375 浏览 评分:9.9
余数相同问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c;…… 题解列表 2023年07月10日 0 点赞 0 评论 278 浏览 评分:9.9
题解 3012: 分苹果 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,s=0; cin>>n; fo…… 题解列表 2023年07月10日 0 点赞 0 评论 375 浏览 评分:9.9
5ms绝杀,有注释,一看就懂 摘要:解题思路:定义两个数组,一个存当前糖果数,另一个存糖果的一半注意事项:参考代码:#include<stdio.h>int main(){ int people_num,i=0,sum=0; …… 题解列表 2023年07月10日 0 点赞 0 评论 343 浏览 评分:9.9
直接拿捏... 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void direction(char *head,int line,int list,int array[line][list],in…… 题解列表 2023年07月11日 0 点赞 0 评论 474 浏览 评分:9.9