結果

問題 No.1468 Colourful Pastel
ユーザー nessien
提出日時 2024-12-13 15:16:49
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 236 bytes
コンパイル時間 310 ms
コンパイル使用メモリ 82,460 KB
実行使用メモリ 80,640 KB
最終ジャッジ日時 2024-12-13 15:16:54
合計ジャッジ時間 3,897 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

N = int(input())
A = list(map(int,input().split()))
B = list(map(int,input().split()))

c1 = Counter(A)
c2 = Counter(B)

ans = 0
for k,v in c1.items():
	if c2[k] == 0 or c2[k] != v:
		ans = k 
print(ans)
0