SCUACM2018 Summer Training Final Examination

C: 简单的数学问题