結果

問題 No.70 睡眠の重要性!
ユーザー gigurururugigurururu
提出日時 2014-11-19 16:38:00
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 214 bytes
コンパイル時間 745 ms
コンパイル使用メモリ 7,052 KB
実行使用メモリ 6,988 KB
最終ジャッジ日時 2023-08-30 21:53:06
合計ジャッジ時間 1,796 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

from datetime import datetime,timedelta
t=timedelta()
for _ in range(input()):
    s,e=[datetime.strptime(str,"%H:%M") for str in raw_input().split()]
    if e<s: s-=timedelta(1)
    t+=e-s
print t.seconds/60
0