結果
| 問題 | No.1468 Colourful Pastel |
| ユーザー |
|
| 提出日時 | 2024-12-13 15:17:25 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 68 ms / 1,000 ms |
| コード長 | 218 bytes |
| 記録 | |
| コンパイル時間 | 383 ms |
| コンパイル使用メモリ | 85,088 KB |
| 実行使用メモリ | 103,812 KB |
| 最終ジャッジ日時 | 2026-05-24 19:54:46 |
| 合計ジャッジ時間 | 2,351 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 25 |
ソースコード
from collections import Counter N = int(input()) A = list(input().split()) B = list(input().split()) c1 = Counter(A) c2 = Counter(B) ans = 0 for k,v in c1.items(): if c2[k] == 0 or c2[k] != v: ans = k print(ans)