結果
| 問題 |
No.70 睡眠の重要性!
|
| コンテスト | |
| ユーザー |
Furu M
|
| 提出日時 | 2021-03-14 13:22:51 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 34 ms / 5,000 ms |
| コード長 | 186 bytes |
| コンパイル時間 | 110 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-11-06 03:00:03 |
| 合計ジャッジ時間 | 911 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
N=int(input())
O=0
for i in range(N):
A,B=input().split()
C=list(map(int,A.split(':')))
D=list(map(int,B.split(':')))
S=C[0]*60+C[1]
E=D[0]*60+D[1]
O+=E-S
if E<S:O+=24*60
print(O)
Furu M