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ewaBEENcyBBhXAo5IRrRNmAisIDk0teo16LM5RldYHKh@YqIHKxOxdEhXghKj0gdIUEYVNEQauDKVRUaWWVAt6JQbUFkcsZLKOIV3LSa9KbYiecPiBgB4AC6sdJSVjYYQkRAaLCQ6U1U3StkAqIdarwpqwNTUxDBaqi8QJW81dfQSLiLYRr5Juhan6A33M9FzJhZMB0PoGSnNFkVe@GIOBV11HKKzMvKFBhkx1owKBUKP3UXFTriKopRArO8r/Vd4HhWYteCuvmPZ3ivT2QU4UFedrJaDNR6YwUEwBFvsZoVoFCe2q8koGkcxUWHOSM8mKYOHKXdkKTzJaxZ7nDE@ridp4moDXbQHgsCCGS1UG5yaqyEfUzQDpgaMewXRJh40tUsrhVdXP2lBUvTR5NDyTsjC0ecL9XlC9zJmOFYVZDCnuZ4s6gVZHBX6BsoKCVdMgvl9AkQII0WPCjxBzsL50kZTTHayq0yvor9PhRQomD1nUWmi9@FojP5IpZVWKIagLImzO9wmolFls0EB6JlJRWOjSBvkciRtVw175NZG40XrMSJZQR6si/NxqilItMDJ3IGwda3EviRwDSGFPKIbyFYE5ecMf4pFgbnBJFou/8m6Fzr@m3EFoxFfslFskIYtx7MROEDgPZiAnfS@jRwrvWSSoiDFAnSRI8R86G@x4IUZ@ScC3ENKAfaBygBZW1D5CeUcjBBf6jmCq9Xd30jCUvM8lYyBzhE5AeR1LUY3Qv1uTJSU1596@vlcCJD@EtPQB6CRaPxThqPEXFYC@VdTdkITU/jksitliU3nNxwKOezngLXGjh6QALwRp90CbiBZrUcJGCpleKoF1r1H5vwvTFN4Ymr6/0w573eiBvP6KNWuQq9wZ5f67B3wyNU61IbAZgi9dH6SKOqo6V4IHAkQQ3yD4W@v3KDjq7m2RkCW447suiylZ27pugv8B "Jelly – Try It Online" A full program that takes a binary matrix and prints an integer. This generates a bipartite graph and then uses the Hopcroft-Karp method; it’s loosely based on the pseudo code on the Wikipedia page, but obviously has to stick within what’s possible in Jelly. I think it should meet the complexity requirement since the underlying method does, and manages to complete all challenges within about 28 seconds total on TIO.