結果

問題 No.1468 Colourful Pastel
ユーザー titia
提出日時 2021-04-04 15:24:01
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 111 ms / 1,000 ms
コード長 149 bytes
コンパイル時間 391 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 17,748 KB
最終ジャッジ日時 2024-12-27 22:48:39
合計ジャッジ時間 2,907 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

N=int(input())
A=Counter(input().split())
B=Counter(input().split())

for a in A:
    if A[a]>B[a]:
        print(a)
0