摘要:
07-图5 Saving James Bond - Hard Version(30 分)This time let us consider the situation in the movie "Live and Let Die" in which James Bon... 阅读全文
摘要:
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 Bon... 阅读全文
摘要:
07-图4 哈利·波特的考试(25 分)哈利·波特要考试了,他需要你的帮助。这门课学的是用魔咒将一种动物变成另一种动物的本事。例如将猫变成老鼠的魔咒是haha,将老鼠变成鱼的魔咒是hehe等等。反方向变化的魔咒就是简单地将原来的魔咒倒过来念,例如ahah可以将老鼠变成... 阅读全文
摘要:
Prime Path POJ - 3126 The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would ... 阅读全文
摘要:
Pots POJ - 3414 You are given two pots, having the volume of A and B liters respectively. The following operations can be performed:FI... 阅读全文
摘要:
06-图1 列出连通集(25 分)给定一个有N个顶点和E条边的无向图,请用DFS和BFS分别列出其所有的连通集。假设顶点从0到N−1编号。进行搜索时,假设我们总是从编号最小的顶点出发,按编号递增的顺序访问邻接点。输入格式:输入第1行给出2个整数N(0#include ... 阅读全文
摘要:
05-树8 File Transfer(25 分)We have a network of computers and a list of bi-directional connections. Each of these connections allows a f... 阅读全文
摘要:
Filling Out the Team POJ - 2070 Over the years, the people of the great city of Pittsburgh have repeatedly demonstrated a collective e... 阅读全文
摘要:
Big Number POJ - 1423 In many applications very large integers numbers are required. Some of these applications are using keys for sec... 阅读全文
摘要:
Calendar POJ - 2080 A calendar is a system for measuring time, from hours and minutes, to months and days, and finally to years and ce... 阅读全文