Kirill plays a new computer game. He came to the potion store where he can buy any potion. Each potion is characterized by two integers - amount of experience and cost. The efficiency of a potion is the ratio of the amount of experience to the cost.…
A. Kirill And The Game time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Kirill plays a new computer game. He came to the potion store where he can buy any potion. Each potion is characteriz…
地址:http://codeforces.com/contest/842/problem/C 题目: C. Ilya And The Tree time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Ilya is very fond of graphs, especially trees. During his last trip…