Welcome![Sign In][Sign Up]
Location:
Downloads Documents
Title: main Download
 Description: A forest contains T trees numbered from 1 to T and P people numbered from 1 to P. Standard input consists of a line containing P and T followed by several lines, containing a pair of integers i and j, indicating that person i has heard tree j fall. People may have different opinions as to which trees, according to Berkeley, have made a sound. Input contains multiple test cases. Subsequent test cases are separated with a single blank line. How many different opinions are represented in the input? Two people hold the same opinion only if they hear exactly the same set of trees. You may assume that P < 100 and T < 100.
 Downloaders recently: [More information of uploader pengfei0508]
 To Search: 1710
File list (Check if you may need any files):
main.cpp
    

CodeBus www.codebus.net