SCUACM2018 Summer Training Final Examination

E: 简单的取数题