题解 | #输出单向链表中倒数第k个结点#
输出单向链表中倒数第k个结点
http://www.nowcoder.com/practice/54404a78aec1435a81150f15f899417d
while True:
try:
n = int(input())
lst = input().split()
k = int(input())
if k == 0:
output = 0
else:
output = lst[-k]
print(output)
except:
break