Submission #99885

#TimeUsernameProblemLanguageResultExecution timeMemory
99885zzeeJarvis (COCI19_jarvis)Cpython 3
7 / 70
1072 ms19752 KiB
n = int(input()) a = list(map(int, input().split())) b = list(map(int, input().split())) c = [] for i in range(len(a)): c = c+ [b[i]-a[i]] i = 0 M = - 1000001 while len(c)>i: x = c.count(c[i]) if x > M: M = x p = c[i] for j in range(x): c.remove(p) i = i + 1 print(M)
#Verdict Execution timeMemoryGrader output
Fetching results...