結果
| 問題 | No.1468 Colourful Pastel |
| ユーザー |
|
| 提出日時 | 2024-01-10 20:19:01 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 80 ms / 1,000 ms |
| コード長 | 253 bytes |
| 記録 | |
| コンパイル時間 | 1,616 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 114,944 KB |
| 最終ジャッジ日時 | 2026-04-14 14:13:43 |
| 合計ジャッジ時間 | 2,512 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 25 |
ソースコード
N = int(input())
A = list((map(str, input().split())))
B = list((map(str, input().split())))
from collections import Counter
a_cnt = Counter(A)
b_cnt = Counter(B)
for key in a_cnt.keys():
if a_cnt[key]!=b_cnt[key]:
print(key)
break