| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 70834 | sh25_wangsj | 正常血压 | C++ | Accepted | 0 MS | 248 KB | 467 | 2025-10-21 20:28:08 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,x,y; cin>>a; int lx=0,maxlx=0; for(int i=0;i<a;i=i+1){ cin>>x>>y; if(90<=x&&140>=x&&60<=y&&90>=y) { lx=lx+1; if(lx>maxlx) { maxlx=lx; } } else{ lx=0; } } cout<<maxlx; return 0; }