see https://github.com/cpinitiative/usaco-guide/issues/5682#issuecomment-3354402609 relevant PR: #4251