結果
| 問題 |
No.70 睡眠の重要性!
|
| コンテスト | |
| ユーザー |
ゆるく
|
| 提出日時 | 2014-11-19 00:12:36 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 5,000 ms |
| コード長 | 277 bytes |
| コンパイル時間 | 243 ms |
| コンパイル使用メモリ | 12,032 KB |
| 実行使用メモリ | 10,368 KB |
| 最終ジャッジ日時 | 2025-01-02 19:07:20 |
| 合計ジャッジ時間 | 984 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
n = int(input())
e = [[i for i in input().split()] for i in range(n)]
s = 0
for ee in e:
a = int(ee[0].split(':')[0])
b = int(ee[0].split(':')[1])
c = int(ee[1].split(':')[0])
d = int(ee[1].split(':')[1])
s += ((24 + c - a) * 60 + d - b) % (24 * 60)
print(s)
ゆるく