摘要:
Book Club http://ecustoj.sinaapp.com/problemshow.php?pro_id=428这道模拟题,应该注意输入输出格式,这里非常容易出问题,几次测试不过都是这里出的问题。#include<cstdio>#include<cstring>using namespace std;int a[50005][55];int vis[50005];int main(){ int N,NQ,P,Q,A,count,i,j; while(scanf("%d %d %d",&N,&NQ,&P)!=EOF 阅读全文