結果
問題 |
No.3039 配信者
|
ユーザー |
![]() |
提出日時 | 2025-02-28 21:30:27 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 715 ms / 2,000 ms |
コード長 | 211 bytes |
コンパイル時間 | 337 ms |
コンパイル使用メモリ | 82,712 KB |
実行使用メモリ | 84,720 KB |
最終ジャッジ日時 | 2025-02-28 21:30:40 |
合計ジャッジ時間 | 8,567 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 |
ソースコード
from itertools import accumulate n, h = map(int, input().split()) d = [0] * (10 ** 6 + 1) for _ in range(n): a, b = map(int, input().split()) d[a] += 1 d[b+1] -= 1 ans = max(accumulate(d)) print(ans)