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