Codeforces graph coloring bipartite graph hash optimal coloring editorial. Gael sánchez valles. Ai18123. Link loss budget.