比较复杂的模拟题。
#include<stdio.h>
#include<iostream>
#include<queue>
using namespace std;
typedef struct PNode{
int outhour,outminute;
}Person;
typedef struct WNode{
vector<int> pv;
}Window;
int main(){
int i,j;
int N,M,K,Q;
int stime[1005];
Person person[1005];
Window window[22];
scanf("%d %d %d %d",&N,&M,&K,&Q);
for(i=1;i<=K;i++){
scanf("%d",&stime[i]);
}
for(i=1;i<=K;i++){
int maxperson=M;
int m......
阅读全文