結果
| 問題 | No.1468 Colourful Pastel |
| ユーザー |
|
| 提出日時 | 2022-05-03 01:42:54 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 133 ms / 1,000 ms |
| + 278µs | |
| コード長 | 664 bytes |
| 記録 | |
| コンパイル時間 | 235 ms |
| コンパイル使用メモリ | 95,984 KB |
| 実行使用メモリ | 108,520 KB |
| 最終ジャッジ日時 | 2026-08-03 19:44:31 |
| 合計ジャッジ時間 | 5,191 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 25 |
ソースコード
# import pypyjit
# pypyjit.set_param('max_unroll_recursion=-1')
import sys
from itertools import combinations, permutations, product, accumulate, groupby
from collections import defaultdict, deque, Counter
from functools import reduce
from operator import add, mul
import heapq
import bisect
import math
import copy
# sys.setrecursionlimit(10 ** 9)
input = lambda: sys.stdin.readline().rstrip()
INF = float("inf")
MOD = 10 ** 9 + 7
N = int(input())
A = list(input().split())
B = list(input().split())
a_counter = Counter(A)
b_counter = Counter(B)
for k, v in a_counter.items():
if b_counter[k] == v:
continue
else:
print(k)
exit()