結果
| 問題 |
No.3039 配信者
|
| ユーザー |
|
| 提出日時 | 2025-02-28 21:39:51 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 227 bytes |
| コンパイル時間 | 202 ms |
| コンパイル使用メモリ | 11,904 KB |
| 実行使用メモリ | 18,004 KB |
| 最終ジャッジ日時 | 2025-02-28 21:40:00 |
| 合計ジャッジ時間 | 4,690 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | TLE * 1 -- * 14 |
ソースコード
n, h = map(int, input().split())
t = [0] * 10**6
for _ in range(n):
l, r = map(int, input().split())
t[l] += 1
t[r + 1] -= 1
ans, now = 0, 0
for i in range(h + 5):
now += t[i]
ans = max(ans, now)
print(ans)