結果

問題 No.70 睡眠の重要性!
ユーザー MinixMinix
提出日時 2021-08-07 23:47:34
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 11,824 KB
実行使用メモリ 10,168 KB
最終ジャッジ日時 2023-10-18 23:42:03
合計ジャッジ時間 863 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

n=int(input());x=0
for _ in range(n):
    a,b=input().split()
    h,m=map(int,a.split(':'));s,t=map(int,b.split(':'))
    x+=(s+24*(s<h)-h)*60+t-m
print(x)
0