79360954

Date: 2025-01-16 09:20:27
Score: 1.5
Natty:
Report link

h=[]

c=0

while c<int(input()):

    h.append(int(input()))

    c+=1

h=sorted(h)

if len(h)%2==0:

    print(h[int(len(h)/2-1)]+h[int(len(h/2))])

else:

    print(h[int((len(h)+1)/2-1)])

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Pin Beach2