Codeforces #719 C
Written by razrlele on October 26, 2016
719C C. Efim and Strange Grade time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output
Codeforces #721 C
Written by razrlele on October 11, 2016
721C C. Journey time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Recently Irina arrived to one of the most famous cities of Berland — the Berlatov city. There are n showplaces in the city, numbered from1 to n, and some of them are connected by one-directional roads. The roads in Berlatov are designed in a way such that there are nocyclic routes between showplaces.