Fixed import issue for python <3.9

master
Tibor Bizjak 2023-03-14 16:17:27 +01:00
parent fec6a3aca0
commit 699631a3c1
1 changed files with 4 additions and 1 deletions

View File

@ -1,9 +1,12 @@
#!/usr/bin/env python3
from itertools import combinations
from math import lcm
from math import gcd
from functools import reduce
def lcm(a, b):
return (a * b) // gcd(a, b)
def comp(a, b):
def f(arg):
x, y = arg