結果

問題 No.1468 Colourful Pastel
ユーザー itsy68
提出日時 2022-05-03 01:45:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 107 ms / 1,000 ms
コード長 587 bytes
コンパイル時間 189 ms
コンパイル使用メモリ 82,252 KB
実行使用メモリ 95,484 KB
最終ジャッジ日時 2024-07-02 05:46:58
合計ジャッジ時間 3,072 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

# 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)
print(*(a_counter - b_counter).keys())
0