結果

問題 No.647 明太子
ユーザー Maboy
提出日時 2018-03-01 12:00:57
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 228 bytes
コンパイル時間 309 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 12,800 KB
最終ジャッジ日時 2024-12-26 08:15:49
合計ジャッジ時間 12,429 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 2
other AC * 4 WA * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
ab=[list(map(int,input().split())) for i in'.'*n]
m=int(input())
xy=[list(map(int,input().split())) for i in'.'*m]
d=[]
for i in xy:
  c=0
  for j in ab:
    c+=((i[0]<=j[0] and i[1]>=j[1]))
  d+=[c]
print(max(d))
0