编写题解 2814: 正常血压,python超简单 摘要:n = int(input()) # 初始化max_hours为0,用于记录迄今为止发现的最长连续正常小时数 max_hours = 0 # 初始化normal_ho…… 题解列表 2024年03月22日 0 点赞 0 评论 368 浏览 评分:0.0
输出病人正常血压持续的最长时间(python) 摘要:解题思路:思路简单清晰,直接看注释参考代码:n = int(input())blood_pressure_list = [] # 用来存储持续的时间blood_pressure_time = 0 …… 题解列表 2023年12月11日 0 点赞 0 评论 199 浏览 评分:0.0
正常血压(数组存储解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,x,y,n,max=0,l=1,k=0; int a[101]={0,0,0,0,0…… 题解列表 2023年12月12日 0 点赞 0 评论 96 浏览 评分:0.0
题解 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 评论 138 浏览 评分:0.0
血压,雪鸭,学鸭 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n;//行数 scanf("%d",&n); int i,j=0,k=0; int a,b; int c…… 题解列表 2023年12月20日 0 点赞 0 评论 125 浏览 评分:0.0
数组记录血压 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class The_2814 { public static void main(String[] …… 题解列表 2023年10月10日 0 点赞 0 评论 148 浏览 评分:0.0
正常血压(标题太短啦) 摘要:参考代码: ```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 评论 148 浏览 评分:0.0
2814 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a,b,m=0,c=0; scanf("%d",&n); for(int i=0;…… 题解列表 2024年03月19日 0 点赞 0 评论 180 浏览 评分: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 评论 137 浏览 评分:0.0
python解求得最大值 摘要:### 解题代码: ```python n = int(input()) sz = [list(map(int, input().strip().split())) for _ in range…… 题解列表 2024年04月18日 0 点赞 0 评论 162 浏览 评分:0.0