https://kpolyakov.spb.ru/school/oge/generate.htm 5, 8, 9, 10, 14
https://kpolyakov.spb.ru/school/ege/gen.php?action=viewAllEgeNo&egeId=1&cat12=on&cat13=on
https://kpolyakov.spb.ru/school/ege/gen.php?action=viewAllEgeNo&egeId=14&cat61=on
6637 5309 5303 5136
def g(n): res = bin(n)[2:] if res.count("1") % 2 != 0: res = res + "1" else: res = res + "0" res = str(int(res, 2)) res = res + res[-1] return int(res) for n in range(1000): res = g(n) if res > 1200: print(n, res ) break
k = 0 f = 0 for s1 in d: for s2 in d: for s3 in d: for s4 in d: for s5 in d: #print(f'{s1}{s2}{s3}{s4}{s5}') k += 1 t = f'{s1}{s2}{s3}{s4}{s5}' if t.index(t[-1]) % 2 == 1 and t[0] != "ь" and "кк" in t: print(k, t)
https://stepik.org/join-class/44f41a4d524291b8208cb8f0f59f09c3368ad30d
https://education.yandex.ru/ege/collections/dabdb2c5-b56f-4e7b-81c9-7db9c752388d/task/1?start=1
https://education.yandex.ru/ege/collections/ca5fe8ec-71c3-426f-a89b-d594e1cff194/task/1?start=1 2_5_5_7