-
上白泽慧音
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293裸的tarjan。可是我有个问题 不知道是数据 …
-
挤牛奶
桶排的思想,数据太水,过了,还有正解排序维护一个区间,时刻更新,所以要赋初值,找到n+1否则不更新123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051#include<iostream>#include<cstring>using names …
-
黑匣子
维护一个大根堆,维护一个小根堆,大根堆有k个数,堆首就是第k大的,不会写堆,这里用优先队列来实现12345678910111213141516171819202122232425262728293031323334353637383940414243#include<cstdio>#include<iostream>#include<queue>using na …
-
割点
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647#include<cstdio>#include<iostream>using namespace std;int m,n;int a[1999][1999];int t;int root;int dfn[ …
-
关系运算图
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182#include<cstdio>#include<cstring> …
-
区间
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778#include<cstdio>#include<cstring>#include …
-
HH的项链
…
-
自点数
…
-
AC自动机
…
-
杂物
…