結果
| 問題 | No.3039 配信者 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-02-28 21:32:37 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 326 ms / 2,000 ms |
| コード長 | 384 bytes |
| 記録 | |
| コンパイル時間 | 223 ms |
| コンパイル使用メモリ | 95,852 KB |
| 実行使用メモリ | 96,240 KB |
| 最終ジャッジ日時 | 2026-07-06 11:47:00 |
| 合計ジャッジ時間 | 5,615 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 15 |
ソースコード
import math
import heapq
import itertools
import bisect
import random
import time
from collections import deque
import sys
from cmath import exp,pi
from functools import cmp_to_key
input=sys.stdin.readline
n,h=map(int,input().split())
s=[0]*(h+5)
for i in range(n):
a,b=map(int,input().split())
s[a]+=1
s[b+1]-=1
for i in range(1,len(s)):
s[i]+=s[i-1]
print(max(s))