摘要: 在第8组数据上WA了一天,后来才发现问题;#include#include#include#include#define maxn 200009#define inf 1e15using namespace std;int n,k,q;struct node{ int score; int pain; bool operatorb.score;}bool vis[maxn];int s[maxn];long long check(int p){ long long ans=0; int cnt_1=0; for(int i=1;i=p-1)cnt_1++; ... 阅读全文
posted @ 2014-03-01 16:14 Yours1103 阅读(224) 评论(0) 推荐(0) 编辑