結果

問題 No.70 睡眠の重要性!
ユーザー gigurururu
提出日時 2014-11-18 23:44:57
言語 Python2
(2.7.18)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 183 bytes
コンパイル時間 553 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2025-01-02 18:59:50
合計ジャッジ時間 969 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

s=0
for _ in range(input()):
    a,b=raw_input().split()
    a1,a2=map(int,a.split(":"))
    b1,b2=map(int,b.split(":"))
    t=b1-a1
    if t<0:t+=24
    s+=t*60+b2-a2
print s
0