結果
問題 |
No.1468 Colourful Pastel
|
ユーザー |
|
提出日時 | 2021-04-04 15:08:04 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 101 ms / 1,000 ms |
コード長 | 190 bytes |
コンパイル時間 | 2,774 ms |
コンパイル使用メモリ | 81,536 KB |
実行使用メモリ | 98,432 KB |
最終ジャッジ日時 | 2024-12-27 22:47:37 |
合計ジャッジ時間 | 6,350 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 25 |
ソースコード
from collections import Counter n = int(input()) A = list(input().split()) B = list(input().split()) a = Counter(A) b = Counter(B) for i,j in a.items(): if b[i] == j-1: print(i)