This commit is contained in:
2023-07-18 22:34:23 +02:00
parent 8a8cfa5c43
commit 17d266942c

5
parking2.py Normal file
View File

@@ -0,0 +1,5 @@
t = int(input())
for _ in range(t):
n = int(input())
x = list(map(int, input().split()))
print((max(x) - min(x)) * 2)