随笔分类 - 数据结构
摘要:E. Bindian SignalizingTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/problemset/problem/5/EDescriptionEveryone knows that long ago on...
阅读全文
摘要:C. Longest Regular Bracket SequenceTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/problemset/problem/5/CDescriptionThis is yet anothe...
阅读全文
摘要:1.【bzoj4034】[HAOI2015]T2有一棵点数为 N 的树,以点 1 为根,且树点有边权。然后有 M 个操作,分为三种:操作 1 :把某个节点 x 的点权增加 a 。操作 2 :把某个节点 x 为根的子树中所有点的点权都增加 a 。操作 3 :询问某个节点 x 到根的路径中所有点的点权和...
阅读全文
摘要:世风日下的哗啦啦族ITime Limit: 20 SecMemory Limit: 256 MB题目连接http://acdream.info/problem?pid=1738Description"世风日下啊,女生不穿裙子的太少了""这不是社会的进步吗(逃""哎,是否可以建立一种结构统计一下各学院...
阅读全文
摘要:E. GukiZ and GukiZianaTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/551/problem/EDescriptionProfessor GukiZ was playing with...
阅读全文
摘要:1015: [JSOI2008]星球大战starwarTime Limit: 20 SecMemory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=1015Description很久以前,在一个遥远的星系,一个黑暗...
阅读全文
摘要:D. TurtlesTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/103/problem/DDescriptionAs you know, the most intelligent beings on ...
阅读全文
摘要:B. Mike and FeetTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/547/problem/BDescriptionMike is the president of country What-...
阅读全文
摘要:05-树6. Path in a Heap (25)Time Limit: 20 SecMemory Limit: 256 MB题目连接http://www.patest.cn/contests/mooc-ds2015spring/05-%E6%A0%916DescriptionInsert a s...
阅读全文
摘要:世风日下的哗啦啦族ITime Limit: 20 SecMemory Limit: 256 MB题目连接http://acdream.info/problem?pid=1738Description"世风日下啊,女生不穿裙子的太少了""这不是社会的进步吗(逃""哎,是否可以建立一种结构统计一下各学院...
阅读全文
摘要:2243: [SDOI2011]染色Time Limit: 20 SecMemory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=2243Description给定一棵有n个节点的无根树和m个操作,操作有2类:1、...
阅读全文
摘要:哗啦啦的小彭玉染色问题Time Limit: 1 SecMemory Limit: 256 MB题目连接http://acdream.info/problem?pid=1725Description哗啦啦,哗啦啦~小彭玉很开心,拿着一堆海报就开始宣传明天要开始的哗啦啦大会了~小彭玉很可爱,他的海报都...
阅读全文
摘要:Assign the taskTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=3974DescriptionThere is a company that has N employe...
阅读全文
摘要:Balanced LineupTime Limit: 1 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=3264DescriptionFor the daily milking, Farmer John's N cows (1 ≤ N ≤ ...
阅读全文
摘要:A Simple Problem with IntegersTime Limit: 1 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=3468DescriptionYou have N integers, A1, A2, ... , AN....
阅读全文
摘要:Can you answer these queries?Time Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5195DescriptionA lot of battleships of...
阅读全文
摘要:D. PointsTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/19/problem/DDescriptionPete and Bob invented a new interesting game. B...
阅读全文
摘要:D. Sum of MediansTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/problemset/problem/85/DDescriptionIn one well-known algorithm of findi...
阅读全文
摘要:Mayor's postersTime Limit: 1 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=2528DescriptionThe citizens of Bytetown, AB, could not stand that th...
阅读全文
摘要:Buy TicketsTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2795DescriptionRailway tickets were difficult to buy aro...
阅读全文

浙公网安备 33010602011771号