mirror of
https://github.com/Alexander-D-Karpov/scripts.git
synced 2024-11-28 06:13:43 +03:00
9 lines
189 B
Python
9 lines
189 B
Python
with open("9.txt") as f:
|
|
data = f.read().splitlines()[1:]
|
|
nums = []
|
|
for x in data:
|
|
nums += list(map(float, x.split()[1:]))
|
|
|
|
n = min(nums)
|
|
print(len([x for x in nums if x > n * 2]))
|