D. BerDonalds time limit per test 5 seconds memory limit per test 256 megabytes input standard input output standard output BerDonalds, a well-known fast food restaurant, is going to open a cafe in Bertown. The important thing is to choose the new re…
They say that Berland has exactly two problems, fools and roads. Besides, Berland has n cities, populated by the fools and connected by the roads. All Berland roads are bidirectional. As there are many fools in Berland, between each pair of cities th…
Destroying Roads time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output In some country there are exactly n cities and m bidirectional roads connecting the cities. Cities are numbered with intege…