Buggy python submission (verdict: Runtime Error):
N=int(input())
##c=list(map(int, input().split()))
a=[]
b=[]
for i in range(N):
    a.append(int(input()))
    b.append(int(input()))

k=0
for i in range(N):
    for j in range(N):
        if(i!=j):
            k=k+((a[i]-a[j])*(a[i]-a[j])+(b[i]-b[j])*(b[i]-b[j]))**0.5

print(k/N)




Fixed submission:
N=int(input())
##c=list(map(int, input().split()))

a = [list(map(int, input().split())) for _ in range(N)]

k=0
for i in range(N):
    for j in range(N):
        if(i!=j):
            k=k+((a[i][0]-a[j][0])*(a[i][0]-a[j][0])+(a[i][1]-a[j][1])*(a[i][1]-a[j][1]))**0.5

print(k/N)

Buggy python submission (verdict: Runtime Error):
N=int(input())
##c=list(map(int, input().split()))
a={}
b={}
for i in range(N):
    a[i]=int(input())
    b[i]=int(input())

k=float(0)
for i in range(N-1):
    for j in range(i+1,N-i-1):
        k=k+((a[i]-a[j])**2+(b[i]-b[j])**2)**0.5

k=float(k*2/N)
print(k)




Fixed submission:
N=int(input())
##c=list(map(int, input().split()))

a = [list(map(int, input().split())) for _ in range(N)]

k=0
for i in range(N):
    for j in range(N):
        if(i!=j):
            k=k+((a[i][0]-a[j][0])*(a[i][0]-a[j][0])+(a[i][1]-a[j][1])*(a[i][1]-a[j][1]))**0.5

print(k/N)

Buggy python submission (verdict: Runtime Error):
N=int(input())
##c=list(map(int, input().split()))
a={}
b={}
for i in range(N):
    a.append(int(input()))
    b.append(int(input()))
k=float(0)
for i in range(N-1):
    for j in range(i,N):
        k=k+((a[i]-a[j])**2+(b[i]-b[j])**2)**0.5

k=float(k*2/N)
print(k)




Fixed submission:
N=int(input())
##c=list(map(int, input().split()))

a = [list(map(int, input().split())) for _ in range(N)]

k=0
for i in range(N):
    for j in range(N):
        if(i!=j):
            k=k+((a[i][0]-a[j][0])*(a[i][0]-a[j][0])+(a[i][1]-a[j][1])*(a[i][1]-a[j][1]))**0.5

print(k/N)

Buggy python submission (verdict: Runtime Error):
N=int(input())
##c=list(map(int, input().split()))
a=[]
b=[]
for i in range(N):
    a.append(int(input()))
    b.append(int(input()))
k=float(0)
for i in range(N-1):
    for j in range(i,N):
        k=k+((a[i]-a[j])**2+(b[i]-b[j])**2)**0.5

k=float(k*2/N)
print(k)




Fixed submission:
N=int(input())
##c=list(map(int, input().split()))

a = [list(map(int, input().split())) for _ in range(N)]

k=0
for i in range(N):
    for j in range(N):
        if(i!=j):
            k=k+((a[i][0]-a[j][0])*(a[i][0]-a[j][0])+(a[i][1]-a[j][1])*(a[i][1]-a[j][1]))**0.5

print(k/N)

Buggy python submission (verdict: Runtime Error):
import math
##(A,B,C,D)=map(int,input().split())

N=int(input())
##c=list(map(int, input().split()))


a=[]
b=[]


for i in range(N):
    a.append(int(input()))
    b.append(int(input()))
k=float(0)
for i in range(N-1):
    for j in range(i,N):
        k=k+float(((a[i]-a[j])**2+(b[i]+b[j])**2)**0.5)

k=float(k*2/N)
print(k)




Fixed submission:
N=int(input())
##c=list(map(int, input().split()))

a = [list(map(int, input().split())) for _ in range(N)]

k=0
for i in range(N):
    for j in range(N):
        if(i!=j):
            k=k+((a[i][0]-a[j][0])*(a[i][0]-a[j][0])+(a[i][1]-a[j][1])*(a[i][1]-a[j][1]))**0.5

print(k/N)

Buggy python submission (verdict: Runtime Error):
import math
##(A,B,C,D)=map(int,input().split())

N=int(input())
##c=list(map(int, input().split()))

a=[]
b=[]


for i in range(N):
    a.append(int(input()))
    b.append(int(input()))
k=float(0)
for i in range(N-1):
    for j in range(i,N):
        k=k+float(((a[i]-a[j])**2+(b[i]+b[j])**2)**0.5)

k=float(k*2/N)
print(k)




Fixed submission:
N=int(input())
##c=list(map(int, input().split()))

a = [list(map(int, input().split())) for _ in range(N)]

k=0
for i in range(N):
    for j in range(N):
        if(i!=j):
            k=k+((a[i][0]-a[j][0])*(a[i][0]-a[j][0])+(a[i][1]-a[j][1])*(a[i][1]-a[j][1]))**0.5

print(k/N)

Buggy python submission (verdict: Runtime Error):
import math
##(A,B,C,D)=map(int,input().split())

N=int(input())
##c=list(map(int, input().split()))


a=[]
b=[]

for i in range(N):
    a.append(input())
    b.append(input())
k=float(0)
for i in range(N-1):
    for j in range(i,N):
        k=k+float(math.sqrt(abs(a[i]-a[j])+abs(b[i]+b[j])))

k=float(k*2/N)
print(k)


Fixed submission:
N=int(input())
##c=list(map(int, input().split()))

a = [list(map(int, input().split())) for _ in range(N)]

k=0
for i in range(N):
    for j in range(N):
        if(i!=j):
            k=k+((a[i][0]-a[j][0])*(a[i][0]-a[j][0])+(a[i][1]-a[j][1])*(a[i][1]-a[j][1]))**0.5

print(k/N)