This problem is used in private contest:程序设计原理_课堂练习6
[2021程序设计]课堂练习6