#30952: python AC EOF detect


forkidlai (forkidlai)

學校 : 不指定學校
編號 : 192336
來源 : [220.130.18.196]
最後登入時間 :
2024-06-03 11:17:14

方法1: 

try:

  ......

except EOFError:

  exit(0)

方法2:

from sys import stdin

stdin.readlines()