#20972: 第七筆測資有奇怪的字元


tcfsh310226 (prprprpony)

學校 : 國立臺中第一高級中學
編號 : 43121
來源 : [1.161.61.52]
最後登入時間 :
2021-11-25 20:53:39


#7: 5% RE (code:1)

您的程式被監控系統中斷,可能是程式無法正常結束所導致。
Traceback (most recent call last):
  File "/5709238/code_5709238.py", line 1, in
    print(*[int(input()) + 1 for i in range(int(input()))],sep='\n')
  File "/5709238/code_5709238.py", line 1, in
    print(*[int(input()) + 1 for i in range(int(input()))],sep='\n')
ValueError: invalid literal for int() with base 10: '687491109\x1d'


#21209: Re:第七筆測資有奇怪的字元


pcshic (PCSHIC)

學校 : 新北市立板橋高級中學
編號 : 4688
來源 : [61.228.142.251]
最後登入時間 :
2025-10-09 00:18:00


#7: 5% RE (code:1)

您的程式被監控系統中斷,可能是程式無法正常結束所導致。
Traceback (most recent call last):
  File "/5709238/code_5709238.py", line 1, in
    print(*[int(input()) + 1 for i in range(int(input()))],sep='\n')
  File "/5709238/code_5709238.py", line 1, in
    print(*[int(input()) + 1 for i in range(int(input()))],sep='\n')
ValueError: invalid literal for int() with base 10: '687491109\x1d'



已修正