Description http://www.lydsy.com/JudgeOnline/upload/Noi2017D2.pdfInputOutputSample InputSample OutputHintSource鸣谢GXZlegend提供SPJ