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