Midnightkwai
Midnightkwai
全部文章
数据结构
ACM之路(320)
KMP(11)
二分(2)
二叉树(1)
动态规划(19)
博弈(2)
大数(4)
差分(1)
并查集(3)
搜索(23)
数学几何(25)
最大匹配(3)
最小生成树(7)
最短路(9)
未归档(100)
枚举(14)
模拟(8)
水题(23)
清欢渡总结(5)
线段树(2)
规律(6)
贪心(9)
递推(5)
题解(1)
归档
标签
去牛客网
登录
/
注册
Midnight kwai
大道无形,生育天地;大道无情,运行日月;大道无名,长养万物.
全部文章
/ 数据结构
(共127篇)
AcWing - 图中点的层次(搜索)
题目链接:https://www.acwing.com/problem/content/description/849/ 时/空限制:1s / 64MB 题目描述 给定一个n个点m条边的有向图,图中可能存在重边和自环。 所有边的长度都是1,点的编号为1~n。 请你求出1号点到n号点的最短距离...
2019-08-15
0
667
AcWing - 树的重心(搜索&树)
题目链接:https://www.acwing.com/problem/content/description/848/ 时/空限制:1s / 64MB 题目描述 给定一颗树,树中包含n个结点(编号1~n)和n-1条无向边。 请你找到树的重心,并输出将重心删除后,剩余各个连通块中点数的最大值。...
2019-08-15
0
958
CodeForces - To Crash Or Not To Crash
题目链接:http://codeforces.com/gym/102219/problem/ITime limit per test 1.0 s Memory limit per test 256 MB Description Ethics regarding artificial intell...
2019-08-15
0
826
CodeForces - Are You Safe?(凸包&判点在凸包内)
题目链接:http://codeforces.com/gym/102219/problem/HTime limit per test 15.0 s Memory limit per test 256 MB Description Recently, the nation was shocked ...
凸包
2019-08-15
0
660
ZOJ - Count the Colors(线段树|暴力)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1610Time Limit: 2 Seconds Memory Limit: 65536 KB Problem Description Painting some...
线段树
暴力
2019-08-14
0
506
POJ - Constructing Roads(最小生成树)
题目链接:http://poj.org/problem?id=2421Time Limit: 2000MS Memory Limit: 65536K Description There are N villages, which are numbered from 1 to N, and you...
prim
STL
最小生成树
2019-08-14
0
630
POJ - Agri-Net(最小生成树)
题目链接:http://poj.org/problem?id=1258Time Limit: 1000MS Memory Limit: 10000K Description Farmer John has been elected mayor of his town! One of his ca...
prim
STL
最小生成树
2019-08-14
0
518
POJ - Networking(最小生成树)
题目链接:http://poj.org/problem?id=1287Time Limit: 1000MS Memory Limit: 10000K Description You are assigned to design network connections between certai...
Kruskal
最小生成树
2019-08-14
0
578
POJ - Arctic Network(最小生成树)
题目链接:http://poj.org/problem?id=2349Time Limit: 2000MS Memory Limit: 65536K Description The Department of National Defence (DND) wishes to connect se...
prim
STL
queue
最小生成树
2019-08-14
0
649
POJ - Highways(最小生成树)
题目链接:http://poj.org/problem?id=1751Time Limit: 1000MS Memory Limit: 10000K Special Judge Description The island nation of Flatopia is perfectly flat...
最小生成树
prim
2019-08-14
0
561
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页