- 博客(4)
- 收藏
- 关注
原创 【C/C++】1072. Gas Station (30)
1072. Gas Station (30) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A gas station has to be built at such a locati
2017-10-22 14:47:18 355
原创 【C/C++】1076. Forwards on Weibo (30)
1076. Forwards on Weibo (30) Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social network is formed
2017-10-13 19:16:16 345
原创 【C/C++】列出连通集
给定一个有N个顶点和E条边的无向图,请用DFS和BFS分别列出其所有的连通集。假设顶点从0到N−1编号。进行搜索时,假设我们总是从编号最小的顶点出发,按编号递增的顺序访问邻接点。 输入格式: 输入第1行给出2个整数N(0N≤10)和E,分别是图的顶点数和边数。随后E行,每行给出一条边的两个端点。每行中的数字之间用1空格分隔。 输出格式: 按照"{ v1 v2
2017-10-12 21:04:10 542
原创 【C/C++】06-图2 Saving James Bond - Easy Version(25分)
06-图2 Saving James Bond - Easy Version(25 分) This time let us consider the situation in the movie "Live and Let Die" in which James Bond, the world's most famous spy, was captured by a group of
2017-10-12 20:50:00 803
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人