您的程式被監控系統中斷,可能是程式無法正常結束所導致。 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: ''
您的程式被監控系統中斷,可能是程式無法正常結束所導致。 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()試試看