The Olympic bronze medalist shared the secrets of success with the cadets