This problem is in Contest(s) below:
Contest 1034:程序设计校内竞赛
Contest 1020:物联网2019-1/2C语言在线编程测试chap05