全部评论 4

  • 错了

    昨天 来自 山东

    0
  • n = int(input())
    x = list(map(int, input().split()))
    stack = []
    for num in x:
    stack.append(num)
    while stack:
    size = len(stack)
    top_val = stack.pop()
    print(f"=stk.size[{size}]==")
    print(f" stk.pop[{top_val}]")

    2天前 来自 江苏

    0
  • n = int(input())
    x = list(map(int, input().split()))
    stack = []
    for num in x:
    stack.append(num)
    while stack:
    size = len(stack)
    top_val = stack.pop()
    print(f"=stk.size[{size}]==")
    print(f" stk.pop[{top_val}]")

    2天前 来自 江苏

    0
  • 怎么了

    2天前 来自 江苏

    0

热门讨论