Problem F
High Noon Language Showdown
In the Wild West, two keyboardslingers face off in a
high-stakes programming duel. Each must select a programming
language and an algorithm to solve a problem that’s tough as
tumbleweed, to determine their fate. You’ve designed a problem
for the two rivals, and want to make sure that algorithmic
efficiency matters more than choosing a fast language.
Specifically, suppose that one keyboardslinger opts for a fast
programming language but a slow algorithm, performing
Input
The input comprises a single line with two integers,
-
represents the I/O limit for . -
denotes the constant factor by which the fast algorithm must surpass the slow algorithm.
Output
If it’s possible to find an
Sample Input 1 | Sample Output 1 |
---|---|
10 2 |
Good to go! |
Sample Input 2 | Sample Output 2 |
---|---|
5 2 |
Tweak the bounds! |
Sample Input 3 | Sample Output 3 |
---|---|
35 6 |
Good to go! |