Submission #99887

#TimeUsernameProblemLanguageResultExecution timeMemory
99887zzeeJarvis (COCI19_jarvis)Cpython 3
7 / 70
1089 ms18340 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...