F - Cycling Roads F - Cycling Roads Description When Vova was in Shenzhen, he rented a bike and spent most of the time cycling around the city. Vova w ...
分类:
其他好文 时间:
2016-07-22 21:19:03
阅读次数:
248
D. Puzzles Barney lives in country USC (United States of Charzeh). USC has n cities numbered from 1 through n and n?-?1 roads between them. Cities and ...
分类:
其他好文 时间:
2016-07-19 13:39:54
阅读次数:
206
注意: 注意数组越界问题(提交出现runtimeError代表数组越界) 刚开始提交的时候,边集中边的数目和点集中点的数目用的同一个宏定义,但是宏定义是按照点的最大数定义的,所以提交的时候出现了数组越界问题,以后需要注意啦。 Description The Head Elder of the tro ...
分类:
编程语言 时间:
2016-07-16 22:14:04
阅读次数:
363
Problem Description
Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. There are WALLs, ROADs, and GUARDs in the prison.Angel’s...
分类:
其他好文 时间:
2016-07-10 18:30:32
阅读次数:
174
Problem Description There are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect to ... ...
分类:
其他好文 时间:
2016-07-07 00:56:04
阅读次数:
146
Problem A
There are N cities in Chelsea's state (numbered starting from 1, which is Chelsea's city), and M bidirectional roads directly connect them. (A pair of cities may even be directly connected...
分类:
其他好文 时间:
2016-07-03 20:03:45
阅读次数:
317
UVA 10652 Board Wrapping
UVA 11168 Airport
UVA 1396 Most Distant Point from the Sea
UVA 1298 Triathlon
UVA 1475 Jungle OutpostUVA 10652 Board Wrapping#include
using namespace std;
#defin...
分类:
编程语言 时间:
2016-07-03 19:26:27
阅读次数:
224
Description The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between villages s ...
分类:
其他好文 时间:
2016-07-03 13:09:44
阅读次数:
137
http://acm.hdu.edu.cn/showproblem.php?pid=1025 Constructing Roads In JGShining's Kingdom Problem Description JGShining's kingdom consists of 2n(n is n ...
分类:
其他好文 时间:
2016-07-01 10:08:17
阅读次数:
129