#include <iostream>
#include <set>
using namespace std;
int n,k,t,xl,yl,xr,yr;
set<int>st;
int main(){
int x,y,count,res = 0;
cin>>n>>k>>t>>xl>>yl>>xr>>yr;
for (int i = 0; i < n; ++i) {
count = 0;
for (int j = 0; j < t; ++j) {
cin>>x>>y;
if(x>=xl && x<=xr && y>=yl && y<=yr){
count++;
st.insert(i);
}else{
if(count < k)
count = 0;
}
}
if(count >= k)
res++;
}
cout<<st.size()<<"\n"<<res;
return 0;
}
csp风险人群筛查
最新推荐文章于 2022-03-26 16:56:24 发布