結果

問題 No.70 睡眠の重要性!
ユーザー MaboyMaboy
提出日時 2018-02-20 19:05:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 10,632 KB
実行使用メモリ 7,944 KB
最終ジャッジ日時 2023-09-28 12:20:35
合計ジャッジ時間 864 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

def T(s):
  h,m=map(int,s.split(':'))
  return h*60+m
  
h=m=0
H=lambda s:s.split(':')[0]
M=lambda s:s.split(':')[1]
for i in '.'*int(input()):
  s,e=input().split()
  a,b=T(s),T(e)
  b+=(a>b)*1440
  m+=b-a
0