結果

問題 No.1282 Display Elements
ユーザー NatsubiSogan
提出日時 2020-11-06 23:41:29
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 211 ms / 2,000 ms
コード長 165 bytes
コンパイル時間 188 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 25,928 KB
最終ジャッジ日時 2024-07-22 13:47:58
合計ジャッジ時間 3,030 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

import bisect as B
I,A=input,0
def L():return list(map(int,I().split()))
n=int(I());a=sorted(L());b=L()
for i in range(n):A+=n-max(i,B.bisect_right(a,b[i]))
print(A)
0