mirror of
https://github.com/Alexander-D-Karpov/scripts.git
synced 2024-11-25 21:13:43 +03:00
14 lines
252 B
Python
Vendored
14 lines
252 B
Python
Vendored
with open("27-B.txt") as f:
|
|
data = list(map(int, f.read().splitlines()))[1:]
|
|
|
|
|
|
c = 0
|
|
|
|
for x in range(len(data)):
|
|
for y in range(len(data)):
|
|
if x != y:
|
|
if x * y % 1_000_000 == 0:
|
|
c += 1
|
|
|
|
print(c)
|