FAILURE MAP
← Case archive

FA-5648 / Combinatorics / Member archive

Rectangular grid all square count · case 03

Only the unit-square placements are counted.

Member previewVariant 3 · 3 implementations · 4 checks per implementation

Case contract

Nonnegative integer counts. Permutation and combination counts are zero when a requested selection exceeds the available objects. Shape sizes satisfy the preconditions stated below. rows and cols are nonnegative cell counts; count all axis-aligned square placements of every positive integer side length. Exact operational definition: sum((rows-s+1)*(cols-s+1) for s in range(1,min(rows,cols)+1))

Why this case matters

Small exact fixtures expose this error without platform timing, external services, or probabilistic observations. Combinatorics results depend on the stated convention.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
fixture 1: (2, 3)68Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗