結果

問題 No.1623 三角形の制作
ユーザー lllllll88938494
提出日時 2023-05-10 09:35:23
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 501 bytes
コンパイル時間 341 ms
コンパイル使用メモリ 81,920 KB
実行使用メモリ 141,752 KB
最終ジャッジ日時 2024-11-26 14:07:48
合計ジャッジ時間 4,419 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 2
other RE * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

# max(g,b) <= r < g+b
from bisect import bisect_left as bl , bisect_right as br
from collections import Counter

n = int(input())
r = list(map(int,input().split()))
g = list(map(int,input().split()))
b = list(map(int,input().split()))

rs=sorted(tuple(Counter(r).items()))
gs=sorted(tuple(Counter(g).items()))
bs=sorted(tuple(Counter(b).items()))
rcnt = [0]
for i in range(len(rs)):
    rcnt.append(rcnt[-1]+rs[i][1])

rk = [0]+[i for i,j in rs]

assert 1 != 1,len(bs)
assert 1 != 1,len(gs)
        

0