用max算法比较同时返回较大的值 摘要:解题思路:面对两个值,用max算法比较同时返回较大的值。注意事项:清零时,清除的是积累的连续count,意味着断开重新比较。参考代码:#include<iostream> #include<algo…… 题解列表 2024年12月03日 0 点赞 0 评论 78 浏览 评分:0.0
编写题解 2814: 正常血压 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n,a,b,s=0,max=0; cin>>n; fo…… 题解列表 2024年05月23日 0 点赞 0 评论 146 浏览 评分:0.0
2814: 正常血压 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long a,spring=0,summer…… 题解列表 2024年04月05日 0 点赞 0 评论 261 浏览 评分:9.9
题解 2814: 正常血压 摘要:解题思路:(jinitaimei)注意事项:题目说的是连续的正常次数,还要写个判断参考代码:#include<bits/stdc++.h>using namespace std;int main(){…… 题解列表 2024年03月31日 0 点赞 0 评论 107 浏览 评分:9.9
2814: 正常血压 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a,b,sum=0,maxx=0;//定…… 题解列表 2024年02月06日 0 点赞 0 评论 132 浏览 评分:9.9
正常血压题解2814(c++) 摘要:#include using namespace std; int main(){ int a,b,c,d=0,e=0; cin>>a; for(int i=1;i>b>>c; …… 题解列表 2023年12月07日 0 点赞 0 评论 241 浏览 评分:9.9
Yu正常血压2814 摘要:# 解题思路 **重点:**寻找连续值里的最大值 sum记录连续值 ans记录连续最大值 # 参考代码 ```C++ #include using namespace std; in…… 题解列表 2023年12月01日 0 点赞 0 评论 117 浏览 评分:9.9
题解 2814: 正常血压 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d=0,e=0,res=0; cin>>…… 题解列表 2023年11月10日 0 点赞 0 评论 107 浏览 评分:0.0
2814: 正常血压 摘要:注意事项:C++语言,别弄错了参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a,b,z=0,maxx=0;…… 题解列表 2023年07月10日 0 点赞 0 评论 149 浏览 评分:6.0
题解: 正常血压 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a,b,z=0,maxx=0; c…… 题解列表 2023年07月09日 0 点赞 0 评论 112 浏览 评分:9.9