[UVA][bfs] 924 - Spreading The News
Problem E
Spreading the News
In a large organization,
everyone knows a lot of colleagues. However, friendship relations are kept with
only a few of them, to whom news are told.
Suppose that whenever an
employee knows of a piece of news, he tells i...