文件名称:Climbingtrees
介绍说明--下载内容均来自于网络,请自行研究使用
ven a sequence of child-parent pairs, where a pair consists of the child s name followed by the (single) parent s name, and a list of query pairs also expressed as two names, you are to write a program to determine whether the query pairs are related. If the names comprising a query pair are related the program should determine what the relationship is. Consider academic advisees and advisors as exemplars of such a single parent genealogy (we assume a single advisor, i.e., no co-advisors).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Climbing Trees.cpp
input.txt
input.txt