63082023-11-15 16:31:31almaaaFormula-1python3Wrong answer 0/10017ms14076 KiB
n = int(input())
v = []
h = []

hh = input().split()
vv = input().split()

for i in range(n):
    vv[i] = int(vv[i])

for i in range(n):
    hh[i] = int(hh[i])

print(hh,vv)

if sum(vv)<sum(hh):
    print("Verstappen")
else:
    print("Hamilton")

if min(vv)<min(hh):
    print("Verstappen")
else:
    print("Hamilton")

            


SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer17ms11264 KiB
2Wrong answer17ms11428 KiB
subtask20/10
3Wrong answer17ms11644 KiB
4Wrong answer17ms11584 KiB
5Wrong answer17ms11968 KiB
6Wrong answer17ms12452 KiB
subtask30/15
7Wrong answer17ms12440 KiB
8Wrong answer17ms12484 KiB
9Wrong answer17ms12316 KiB
10Wrong answer17ms12760 KiB
11Wrong answer17ms12776 KiB
subtask40/20
12Wrong answer17ms12564 KiB
13Wrong answer17ms12940 KiB
14Wrong answer17ms12960 KiB
15Wrong answer17ms13004 KiB
16Wrong answer17ms12776 KiB
17Wrong answer17ms12984 KiB
18Wrong answer17ms12984 KiB
19Wrong answer17ms13208 KiB
subtask50/55
20Wrong answer17ms13380 KiB
21Wrong answer17ms13204 KiB
22Wrong answer17ms13552 KiB
23Wrong answer17ms13820 KiB
24Wrong answer17ms14076 KiB
25Wrong answer17ms14020 KiB
26Wrong answer17ms14016 KiB
27Wrong answer17ms13988 KiB
28Wrong answer17ms14072 KiB