This problem is in Contest(s) below:
Contest 1020:C风格链表