結果

問題 No.70 睡眠の重要性!
ユーザー gigurururu
提出日時 2014-11-19 16:38:00
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 214 bytes
コンパイル時間 646 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 7,296 KB
最終ジャッジ日時 2025-01-02 19:19:28
合計ジャッジ時間 1,530 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 5
権限があれば一括ダウンロードができます

ソースコード

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