結果
| 問題 | No.70 睡眠の重要性! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-09-21 23:51:06 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 242 bytes |
| 記録 | |
| コンパイル時間 | 412 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,356 KB |
| 最終ジャッジ日時 | 2026-03-29 07:52:20 |
| 合計ジャッジ時間 | 1,642 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 1 |
ソースコード
n=int(input())
ans=0
def solve(a,b):
H,M=map(int,a.split(":"))
h,m=map(int,b.split(":"))
if H>h:
h+=24
return 60*(h-H)+m-M
for i in range(n):
hm=list(map(str,input().split()))
ans+=solve(hm[0],hm[1])
print(ans)