• 个人简介

    (´・ω・`)```python def isPopSerial(d1,d2): Push_L = d1.split(',');Pop_L=d2.split(',') if Push_L==[] or Pop_L==[]: return False if len(Push_L)!=len(Pop_L): return False st=[] i=j=0 while i<(Push_L): st.append(Push_L[i]) i+=1 while st != [] and st[-1] == Pop_L: st.pop() j+=1 return st == [] and i == j Push =input("输入一个入栈序列:") #各入栈元素用“,”分割 Pop =

    116.62.48.241:8888、p?=category%3A数据结构
  • 最近活动

    This person is lazy and didn't join any contests or homework.