結果
| 問題 |
No.70 睡眠の重要性!
|
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2020-12-03 08:06:23 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 5,000 ms |
| コード長 | 189 bytes |
| コンパイル時間 | 164 ms |
| コンパイル使用メモリ | 82,096 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-09-13 15:36:42 |
| 合計ジャッジ時間 | 933 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
def f(a):
p,q = map(int,a.split(":"))
return p*60+q
n = int(input())
ans = 0
for _ in range(n):
a,b = input().split()
x = f(a)
y = f(b)
ans += (y-x)%1440
print(ans)
convexineq