結果
| 問題 | No.70 睡眠の重要性! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-10-06 09:52:00 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 85 ms / 5,000 ms |
| コード長 | 188 bytes |
| 記録 | |
| コンパイル時間 | 147 ms |
| コンパイル使用メモリ | 77,368 KB |
| 最終ジャッジ日時 | 2025-12-03 21:54:08 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
ans = 0
def parse(s):
m, s = map(int, s.split(':'))
return m*60+s
for _ in xrange(input()):
s, g = map(parse, raw_input().split())
ans += g-s if g>s else 1440-s+g
print ans