Objects/Documentation
lot13.py
I provide the material for check AT.G29.
Download ↓"""Replay path geometry and exact coverage for the 32 lazy certificates received at level 41."""
from functools import lru_cache
from math import gcd
from pathlib import Path
import json
from couverture10 import domains, P
from geometrie41 import check
HERE=Path(__file__).resolve().parent
def covered(u,v,paths):
obligations=[[s] for s in range(u+1,v) if gcd(s,210)==1]+paths
choices=[]
for p,allowed in zip(P,domains(u,v)):
options={sum(1<<i for i,path in enumerate(obligations) if any(x%p==a for x in path)) for a in allowed}
maximal=[]