C. New Year and Rating time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Every Codeforces user has rating, described with one integer, possibly negative or zero. Users are divided into two d…
F - Roads in Berland Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 25C Description There are n cities numbered from 1 to n in Berland. Some of them are connected by two-way roads. Each…