Description JudgeOnline/upload/201803/subway.pdfInputOutputSample Input100 5 55 L 37 L 47 L 89 L 41 RSample Output19.000000HintSource