http://dapractise.openjudge.cn/2019finalexam2/排队[crayon-680e15355c892693133556/]树状数组过线段树不过[crayon-680e15355c89e525296715/]线段树求最大数[crayon-680e15355c8a3246859265/]关键词搜索[crayon-680e15355c8a8703283867/]旅行最短路[crayon-680e15355c8b0899568660/]强连通分量[crayon-680e15355c8b6680459688/]统计不同子串[crayon-680e15355c8bd425540992/]匹配网络流模板[crayon-680e15355c8c9593242449/]线性...
题目来源:http://dapractise.openjudge.cn/2019hwall/POJ3436ACMComputerFactory[crayon-680e15355e0b1186902037/]POJ2112OptimalMilking[crayon-680e15355e0c0957318221/]POJ1274ThePerfectStall用邻接矩阵写的[crayon-680e15355e0c9230943689/]POJ1269IntersectingLines[crayon-680e15355e0d0999463685/]POJ1569MyacmTriangles[crayon-680e15355e0d4413041759/]POJ1039Pipe[crayon-680e15355e...
凸包A:WallPOJ1113求凸包周长加一个圆[crayon-680e15355f07d701752879/]B:ScrambledPolygonPOJ2007排序凸包上的点[crayon-680e15355f088714447990/]动态规划G题真的坑A:Fourier’sLinesPOJ1923[crayon-680e15355f08d638359601/]B:TourPOJ2677[crayon-680e15355f092976632808/]C:IncreasingSequencesPOJ1239[crayon-680e15355f097654328645/]D:Charlie’sChangePOJ1787[crayon-680e15355f09e667...
CrazyTownisaplaneonwhichthereareninfinitelineroads.Eachroadisdefinedbytheequationaix + biy + ci = 0,whereaiandbiarenotbothequaltothezero.Theroadsdividetheplaneintoconnectedregions,possiblyofinfinitespace.Let'scalleachsuchregionablock.Wedefineanintersectionasthepointwhereatleasttwodifferentroadsintersect.Yourhomeislocatedinoneoftheblocks.TodayyouneedtogettotheUniversity,alsolocatedin...
A.VanyaandTable模拟计算面积和[crayon-680e1535791ed432212073/]B.VanyaandBooks枚举位数长度计算一下[crayon-680e1535791f6934069953/]C.VanyaandScales对于w^k,系数只能取-1,0,1于是不断取模w什么的乱搞一下[crayon-680e153579209400302969/]D.VanyaandTriangles所有情况减去三点共线按照每个点为基点排序一下扫一遍计算共线[crayon-680e15357920d567700076/]E.VanyaandBrackets发现左括号前面,右括号一定是...
1694.AnOldStoneGamef[x]表示x为根的树至少需要的石头,把子树按f排序后贪心即可[crayon-680e153579c59989412456/]poj1738.AnoldStoneGame参见discuss的神算法,据说是knuth提出的?[crayon-680e153579c63991220714/]1737.ConnectedGraph跪大爷http://blog.csdn.net/PoPoQQQ/article/details/43525019[crayon-680e153579c6a714767039/]1742.Coins二进制拆分+bitset竟然过不了...我被题解骗了突然一想这不是以前做过...
近期评论