线段树
AlanXWu
这个作者很懒,什么都没留下…
展开
-
线段树
var n,i,j,k,l,r,q,x,y,m:longint;c:char;a:array[0..100005] of int64;p,flag:array[0..1000005] of int64;function min(a,b:int64):int64;beginif a<b then exit(A);exit(B);end;procedure build(t,...原创 2018-07-29 20:15:07 · 140 阅读 · 0 评论 -
染色种数
染色种数http://luo.hustoj.com/problem.php?id=1105var n,m,i,j,k,l,x,y,z,cc:longint;p:Array[0..1000005] of longint;c:char; procedure build(t,l,r:longint);var mid:longint;beginif l=r then b...原创 2018-08-02 13:21:40 · 223 阅读 · 0 评论