第二题和第三题的输出还是不太对
第二题的错误输出:
72 wisdom
182 season
212 season
90 age of foolishness
-- age of fools
19 times
45 times
第三题的错误输出:
Bacon number Frequency
-------------------------
0 1
Enter actor name (or 'E' to exit):
Picture Perfect (1997)/Aniston, Jennifer/Bacon, Kevin/Dukakis,
Olympia/Mohr, Jay
Planes, Trains & Automobiles (1987)/Bacon, Kevin/Candy, John/Martin,
Steve/Robins, Laila
Picture Perfect (1997)/Aniston, Jennifer/Bacon, Kevin/Dukakis, is not connected to Kevin Bacon.
Enter actor name (or 'E' to exit):
Olympia/Mohr, Jay is not connected to Kevin Bacon.
Enter actor name (or 'E' to exit):
Planes, Trains & Automobiles (1987)/Bacon, Kevin/Candy, John/Martin, is not connected to Kevin Bacon.
Enter actor name (or 'E' to exit):
Steve/Robins, Laila is not connected to Kevin Bacon.
Enter actor name (or 'E' to exit):
926

被折叠的 条评论
为什么被折叠?



