結果
問題 | No.70 睡眠の重要性! |
ユーザー |
|
提出日時 | 2018-02-05 12:54:12 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 27 ms / 5,000 ms |
コード長 | 297 bytes |
コンパイル時間 | 86 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-07 04:43:00 |
合計ジャッジ時間 | 834 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
ソースコード
# coding: utf-8n = int(input())count = 0for i in range(n):l = [list(map(int,i.split(":"))) for i in input().split(" ")]h,m = l[0]s = h*60 + mh_,m_ = l[1]s_ = h_*60 + m_if s_ < s:count += (24*60 - (s - s_))else:count+= (s_ - s)print(count)