Canadian Computing Competition: 2010 Stage 1, Junior #2
Nikky and Byron are playing a silly game in gym class.
Nikky is told by his teacher to walk forward
Byron and Nikky have the same length of step, and they are required to take their steps simultaneously (that is, Nikky and Byron will both step forward on their first steps at the same time, and this will continue for each step).
Nikky and Byron start walking from one end of a soccer field. After
Input Specification
The input will be the 5 integers
Output Specification
The output of your program will be one of three possibilities: Nikky
if
Nikky is farther ahead after Byron
if Byron is
farther ahead after Tied
if Byron and Nikky are at
the same distance from their starting position after
Sample Input
4
2
5
3
12
Output for Sample Input
Byron
Explanation of Output for Sample Input
Notice that after
Comments
This comment is hidden due to too much negative feedback. Show it anyway.