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