結果
| 問題 | No.70 睡眠の重要性! |
| コンテスト | |
| ユーザー |
ゆるく
|
| 提出日時 | 2014-11-19 00:12:36 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 17 ms / 5,000 ms |
| + 841µs | |
| コード長 | 277 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 14,592 KB |
| 実行使用メモリ | 10,240 KB |
| 最終ジャッジ日時 | 2026-11-20 19:34:46 |
| 合計ジャッジ時間 | 1,728 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
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)
ゆるく