2017年11月1日

摘要: 1 #include 2 #include 3 #include 4 #define F(i,s,e) for(int i=s;i=s;i--) 6 using namespace std; 7 int n,m,p,a,b; 8 int father[5010]; 9 10 int getfather(int x) 11 { 12 int y=x; 13 w... 阅读全文

posted @ 2017-11-01 20:33 Murs 阅读(117) 评论(0) 推荐(0)

摘要: 爆零啊,,,,我也很绝望啊。 原因有两个。。。。T1没有删打表(我记得删了啊,万恶的mingw) T2。。。。文件名。。。 我真啊 改一下,嗯。。。110 先说T1,很EZ 容斥原理 T2 题解 二分答案t,有统计中位数大于等于t的区间多少个。设a[i]为前i个数中有a[i]个数>=t,若奇数区间[ 阅读全文

posted @ 2017-11-01 16:56 Murs 阅读(270) 评论(0) 推荐(0)