scripts/ege/13118674/9.py
2023-05-05 00:45:01 +03:00

9 lines
189 B
Python
Vendored

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]))