python版答案
原问题:
A and B are preparing themselves for programming contests.
B loves to debug his code. But before he runs the solution and starts debugging, he has to first compile the code.
Initially, the compiler displayed n compilation errors, each of them is represented as a positive integer. After some effort, B managed to fix some mistake and then another one mistake.
However, despite the fact that B is sure that he corrected the two errors, he can not understand exactly what compilation errors disappeared — the compiler of the language which B uses shows errors in the new order every time! B is sure that unlike many other programming languages, compilation errors for his programming language do not depend on each other, that is, if you correct one error, the set of other error does not change.
Can you help B find out exactly what two errors he corrected?
AC的代码
n = int(input())
a = input()
b = input()
c = input()
A,B,C = 0,0,0
for i in a.split():
A = A+int(i)
for j in b.split():
B = B+int(j)
for k in c.split():
C =C + int(k)
print(A-B)
print(B-C)