結果
問題 |
No.3039 配信者
|
ユーザー |
|
提出日時 | 2025-07-09 15:19:26 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 213 bytes |
コンパイル時間 | 819 ms |
コンパイル使用メモリ | 12,032 KB |
実行使用メモリ | 22,820 KB |
最終ジャッジ日時 | 2025-07-09 15:19:33 |
合計ジャッジ時間 | 6,478 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | TLE * 1 -- * 14 |
ソースコード
n, h = map(int, input().split()) ans = [0 for _ in range(h+1)] for i in range(n): a, b = map(int, input().split()) ans[a] += 1 ans[b+1] -= 1 for i in range(h): ans[i+1] += ans[i] print(max(ans))