![「BZOJ3535」[Usaco2014 Open] Fair Photography](http://hzwer.com/wp-content/themes/ly/image/image_post/QQ鎴浘20141204194525.jpg)
DescriptionFJ'sNcows(1<=N<=100,000)arestandingatvariouspositionsalongalongone-dimensionalfence.Theithcowisstandingatpositionx_i(anintegerintherange0...1,000,000,000)andhasbreedb_i(anintegerintherange1..8).Notwocowsoccupythesameposition.FJwantstotakeaphotoofacontiguousintervalofcowsforthecountyfair,butwewantsallofhisbreedstobefairlyrepresentedinthephoto.Therefore,hewantstoensurethat...

A.StrangeAddition考虑0的个数,是否存在100,是否同时存在X0和0X[crayon-690f62f942454777037682/]B.ContinuedFractionshttp://www.cnblogs.com/scau20110726/archive/2013/06/09/3130198.html[crayon-690f62f94245e586235442/]C.IvanandPowersofTwo感觉就是个模拟题0。0,每个数字再往后若干位开始一定就会是连续一段0用map机智的暴力[crayon-690f62f942462640402999/]D.OlyaandGraph性质1:从i到i+1的边一定要存...
近期评论