并集查
文章平均质量分 92
韩小妹
回想一下自己以前所付出的努力,瞬间自信心爆棚
展开
-
小希的迷宫
Problem Description 上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B,那么既可以通过它从房间A走到房间B,也可以通过它从房间B走到房间A,为了提高难度,小希希望任意两个房间有且仅有一条路径可以相通(除非...原创 2018-08-14 09:44:23 · 121 阅读 · 0 评论 -
Is It A Tree?——是一棵树吗?(并集查)
Problem Description A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edges between nodes satisfying the fo...原创 2018-08-14 15:20:43 · 3543 阅读 · 1 评论 -
What Day Is It?
Problem Description The calendar now in use evolved from the Romans. Julius Caesar codified a calendar system that came to be known as the Julian calendar. In this system, all months have 31 days, ex...原创 2018-08-14 19:11:44 · 736 阅读 · 0 评论 -
Play on Words——玩文字游戏
Problem Description Some of the secret doors contain a very interesting word puzzle. The team of archaeologists has to solve it to open that doors. Because there is no other way to open the do...原创 2018-08-16 20:27:40 · 888 阅读 · 2 评论