This problem is in Contest(s) below:
Contest 1132:2013.7中级班第4课练习
Contest 1864:19暑假3
Contest 1763:x
Contest 1191:2015.7C中级班第1-2课作业
Contest 1463:嘉小初级班课后练习2
Contest 1741:c++中级1班第5课练习