Task: | Differences |
Sender: | Piltit |
Submission time: | 2019-05-25 11:43:20 +0300 |
Language: | Python3 |
Status: | READY |
Result: | RUNTIME ERROR |
test | verdict | time | |
---|---|---|---|
#1 | RUNTIME ERROR | 0.05 s | details |
Code
from itertools import zip import math n = input() a = sorted(map(int, input().split())) b = sorted(map(int, input().split())) c = 0 for i in zip(a, b): c += math.abs((i[0]-i[1]) print(c)