Bullet Drop Editorial (CRNMBDRP) - Cranium 2015

PROBLEM LINK

Contest

DIFFICULTY

Cakewalk

SOLUTION

The answer is very simple. If the distance is greater than 100 m, then


ans = ((x - 100)/20) * 0.1

SETTER’S SOLUTION

Link