This train is called RER. The RER is a means of transport dedicated to Paris and its suburbs. The RER C is a train that can directly lead you to le château de Versailles. It usually takes between one hour and one hour and a half to get to the castle depending on your initial location.