The snake has entered the hole when its tail just comes into the hole. It is given that 14 seconds elapse from the time the snake's head enters the hole till its tail enters. Thus,
Length of the snake = Distance traveled in 14 seconds
= (5 cm/s) × (14 s) = 70 centimeters.