結果
問題 |
No.1468 Colourful Pastel
|
ユーザー |
|
提出日時 | 2024-01-10 20:19:01 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 100 ms / 1,000 ms |
コード長 | 253 bytes |
コンパイル時間 | 134 ms |
コンパイル使用メモリ | 82,308 KB |
実行使用メモリ | 109,816 KB |
最終ジャッジ日時 | 2024-09-27 20:21:32 |
合計ジャッジ時間 | 2,455 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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