2814: 正常血压 读懂题就能做 摘要:解题思路:这个题审题时容易走偏,题目要求的是病人保持正常血压的最长小时数,而不是正常的次数,搞清楚这一点后,题目就不难了注意事项:参考代码:#include <iostream> using nam…… 题解列表 2023年04月11日 0 点赞 0 评论 268 浏览 评分:6.0
LJX............................................................... 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int n,a,b,sum=0,ans=0; cin>>…… 题解列表 2023年12月06日 0 点赞 0 评论 208 浏览 评分:4.7
正常血压(标题太短啦) 摘要:参考代码: ```c #include int main() { int n; scanf("%d",&n); int a[n],b[n],k=0,max=0; for(int…… 题解列表 2023年09月12日 0 点赞 0 评论 257 浏览 评分:0.0
Py2814-正常血压--步骤清晰 摘要:n=int(input())arr=[list(map(int,input().split()))fori&nb…… 题解列表 2025年11月08日 0 点赞 0 评论 65 浏览 评分:0.0
2025/7/31刷题记录 摘要:解题思路:sum记录连续的次数 max记录最大连续次数 如果不符合时sum清零但是max记录了最大的sum清零也无所谓注意事项:参考代码:#include<stdio.h>int main…… 题解列表 2025年07月31日 0 点赞 0 评论 131 浏览 评分:0.0
用max算法比较同时返回较大的值 摘要:解题思路:面对两个值,用max算法比较同时返回较大的值。注意事项:清零时,清除的是积累的连续count,意味着断开重新比较。参考代码:#include<iostream> #include<algo…… 题解列表 2024年12月03日 0 点赞 0 评论 289 浏览 评分:0.0
2814: 正常血压 摘要:解题思路:注意事项:参考代码:b = [] s = 0 n = int(input()) for i in range(0,n): l = list(map(int,input().s…… 题解列表 2023年02月16日 0 点赞 0 评论 381 浏览 评分:0.0
题解 2814: 正常血压 摘要:解题思路:注意事项:参考代码:n = int(input())c = 0max = 0while n: a,b = map(int,input().split()) if 90 <= a …… 题解列表 2024年07月30日 0 点赞 0 评论 464 浏览 评分:0.0
2814: 正常血压 摘要:解题思路:注意事项:参考代码:n=int(input())a=[0]*nb=[0]*nt=[0]*nfor i in range(n): a[i],b[i]=map(int,input().sp…… 题解列表 2024年07月06日 0 点赞 0 评论 313 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,x,y,z=0,maxx=0; ci…… 题解列表 2023年07月09日 0 点赞 0 评论 234 浏览 评分:0.0