简单易懂,看懂给个好评! 摘要:解题思路:注意事项:参考代码:h = 0q = 0hours = []n = int(input())for i in range(n): q += 1 a, b = map(int, i…… 题解列表 2024年05月26日 2 点赞 0 评论 372 浏览 评分:9.9
2814: 正常血压(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n][2]; int i,j; for(i=0;i<n…… 题解列表 2023年07月08日 0 点赞 0 评论 395 浏览 评分:9.9
编写题解 2814: 正常血压c++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,sum=0,sum1=0,aa…… 题解列表 2023年07月01日 0 点赞 0 评论 363 浏览 评分:9.9
正常血压java 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc = n…… 题解列表 2023年04月14日 0 点赞 0 评论 311 浏览 评分:9.9
解法有很多,多思考进步才会大(简单解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int n,start,end,sum=0,max=0; scanf("%d",&n); for(in…… 题解列表 2023年03月05日 1 点赞 0 评论 478 浏览 评分:9.9
正常血压c++ 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n, x, y,sum=0,max=0; cin…… 题解列表 2023年07月03日 0 点赞 0 评论 516 浏览 评分:9.3
简单易懂(狗头) 摘要:解题思路:注意事项: 本题求解的是血压连续正常的最长小时数,连续正常!连续正常!连续正常!意思是一旦不正常,前面算正常的时间都需要重新算起。所以本题要建立一个数组,用以保存每一次的flag值,以防数…… 题解列表 2022年12月30日 0 点赞 0 评论 489 浏览 评分:8.0
2814: 正常血压 摘要:解题思路:注意事项: 可能有点绕,我解释的可能不大清楚,请各位可以耐心看完,谢谢!<^_^>参考代码:#include<stdio.h>int main(){ int i=0,j=0,n…… 题解列表 2022年12月28日 0 点赞 1 评论 639 浏览 评分:7.8
正常血压(简单明晰) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct record{ int a; int b;}press[100];//血压int main(){ int n; …… 题解列表 2023年02月09日 0 点赞 0 评论 559 浏览 评分:6.4
2814: 正常血压 摘要:注意事项:C++语言,别弄错了参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a,b,z=0,maxx=0;…… 题解列表 2023年07月10日 0 点赞 0 评论 486 浏览 评分:6.0