#32255: NA0% 這是什麼錯誤?


nihscs109030 (Rain)


您的程式被監控系統中斷,可能是程式無法正常結束所導致。
Traceback (most recent call last):
  File "/10296521/code_10296521.py", line 3, in 
    action = list(map(int, input().split(" ")))
ValueError: invalid literal for int() with base 10: ''
#32256: Re: NA0% 這是什麼錯誤?


cges30901 (cges30901)


您的程式被監控系統中斷,可能是程式無法正常結束所導致。
Traceback (most recent call last):
  File "/10296521/code_10296521.py", line 3, in 
    action = list(map(int, input().split(" ")))
ValueError: invalid literal for int() with base 10: ''


無法把空字串轉換成int

split(" ")改成split()試試看