結果

問題 No.1623 三角形の制作
ユーザー lllllll88938494lllllll88938494
提出日時 2023-05-10 09:35:23
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 501 bytes
コンパイル時間 917 ms
コンパイル使用メモリ 86,620 KB
実行使用メモリ 135,104 KB
最終ジャッジ日時 2023-08-17 16:45:22
合計ジャッジ時間 7,372 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 RE -
testcase_18 RE -
testcase_19 RE -
testcase_20 RE -
権限があれば一括ダウンロードができます

ソースコード

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