#32161: 已經轉成分鐘?為何還是NA??


melodyshih0824 (超萌小辣椒)

學校 : 不指定學校
編號 : 204467
來源 : [218.166.54.147]
最後登入時間 :
2023-06-27 19:20:58
d066. 上學去吧! -- 板橋高中教學題 | From: [218.166.68.238] | 發表日期 : 2022-09-17 16:45

hh,mm=map(int,input().split())
h=hh*60+mm
if 450<=h and h>1020:
    print("At School")
         
else:
    print("Off School")

 
#32166: Re: 已經轉成分鐘?為何還是NA??


cges30901 (cges30901)

學校 : 不指定學校
編號 : 30877
來源 : [101.136.203.77]
最後登入時間 :
2024-04-07 15:34:14
d066. 上學去吧! -- 板橋高中教學題 | From: [59.115.28.249] | 發表日期 : 2022-09-17 20:37


h>1020


改成<

 
ZeroJudge Forum