結果

問題 No.1468 Colourful Pastel
ユーザー lam6er
提出日時 2025-03-20 21:05:57
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 104 ms / 1,000 ms
コード長 192 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 226 ms
コンパイル使用メモリ 95,984 KB
実行使用メモリ 101,760 KB
最終ジャッジ日時 2026-07-07 12:47:24
合計ジャッジ時間 4,176 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

n = int(input())
a = input().split()
b = input().split()

from collections import Counter

count_a = Counter(a)
count_b = Counter(b)

diff = count_a - count_b

print(diff.most_common(1)[0][0])
0