This problem is in Contest(s) below:
Contest 1136:"玲珑杯"2015级新生程序设计大赛--正式赛