2814: 正常血压 摘要:解题思路:注意事项: 可能有点绕,我解释的可能不大清楚,请各位可以耐心看完,谢谢!<^_^>参考代码:#include<stdio.h>int main(){ int i=0,j=0,n…… 题解列表 2022年12月28日 0 点赞 1 评论 562 浏览 评分:7.8
简单易懂(狗头) 摘要:解题思路:注意事项: 本题求解的是血压连续正常的最长小时数,连续正常!连续正常!连续正常!意思是一旦不正常,前面算正常的时间都需要重新算起。所以本题要建立一个数组,用以保存每一次的flag值,以防数…… 题解列表 2022年12月30日 0 点赞 0 评论 401 浏览 评分:8.0
正常血压c++ 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n, x, y,sum=0,max=0; cin…… 题解列表 2023年07月03日 0 点赞 0 评论 413 浏览 评分:9.3
2814: 正常血压 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long a,spring=0,summer…… 题解列表 2024年04月05日 0 点赞 0 评论 388 浏览 评分:9.9
解法有很多,多思考进步才会大(简单解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int n,start,end,sum=0,max=0; scanf("%d",&n); for(in…… 题解列表 2023年03月05日 0 点赞 0 评论 392 浏览 评分:9.9
正常血压java 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc = n…… 题解列表 2023年04月14日 0 点赞 0 评论 230 浏览 评分: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 评论 250 浏览 评分:9.9
简单易懂,看懂给个好评! 摘要:解题思路:注意事项:参考代码:h = 0q = 0hours = []n = int(input())for i in range(n): q += 1 a, b = map(int, i…… 题解列表 2024年05月26日 2 点赞 0 评论 282 浏览 评分: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 评论 326 浏览 评分: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 评论 175 浏览 评分:9.9