Parking
This commit is contained in:
5
parking2.py
Normal file
5
parking2.py
Normal 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)
|
||||
Reference in New Issue
Block a user