結果
| 問題 | No.1468 Colourful Pastel |
| ユーザー |
|
| 提出日時 | 2021-04-04 15:08:04 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 72 ms / 1,000 ms |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 382 ms |
| コンパイル使用メモリ | 84,904 KB |
| 実行使用メモリ | 103,552 KB |
| 最終ジャッジ日時 | 2026-06-02 08:24:26 |
| 合計ジャッジ時間 | 3,050 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)