摘要:
题目:A Simple Problem with IntegersTime Limit:5000MSMemory Limit:131072KTotal Submissions:55817Accepted:16839Case Time Limit:2000MSDescriptionYou haveN... 阅读全文
摘要:
就是给出一些点边关系, 有虫洞的就是负值。 注意普通道路是双向边。。一开始这里建错图了之后处理用了spfa ,类似模板的一道题题目:WormholesTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 26848Accepted: 9669DescriptionWhile exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one- 阅读全文
摘要:
就是用floyd求一个点点最短距离然后求个平均值题目:Six Degrees of Cowvin BaconTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 2359Accepted: 1116DescriptionThe cows have been making movies lately, so they are ready to play a variant of the famous game "Six Degrees of Kevin Bacon". The game works like this 阅读全文
摘要:
简单的并查集类似 食物链那道题。 简单一下设a-x, a-y 表示 a属于龙帮和a属于蛇帮,以此来判断从属关系题目:Find them, Catch themTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 27729Accepted: 8453DescriptionThe police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the city, Gang Dragon a 阅读全文