Fitness Freak

EWU Intra University Prog...
Limits 1s, 512 MB

Mr. Hoy Rodgeson is the coach of Pinkland Soccer Team (People whisper him being crazy). According to his coaching philosophy, fitness is the most valuable attribute of a soccer player. That’s why player with better fitness has higher probability to play in the first team. Mr. Hoy calculates the fitness of a player using his physical attributes. That fitness value is the probability to play. Since the calculation of the probability is too easy, the crazy coach does not bother to disclose the formula!

Input

The input consists of a series of player attributes. Player name will be followed by their height and weight.

Output

For each player of input the output will be their name followed by their probability to play.

Sample

InputOutput
Rony 7 95
Rehim 6 170
Joe 4 135
Rony 74%
Rehim 35%
Joe 30%

Submit

Login to submit.

Statistics

60% Solution Ratio
ewuintra2016.25$YU0qcEarliest, Nov '16
ewuintra2016.25$YU0qcFastest, 0.0s
ewuintra2016.25$YU0qcLightest, 131 kB
Fazlerabbi.Shortest, 223B
Toph uses cookies. By continuing you agree to our Cookie Policy.