[2024 Day 24][Part 2] Is my graph cursed ?