One of my biggest time sinks during contests is sticking to a messy DP or greedy idea for 45 minutes just because I've already invested time in it, only to realize the editorial uses a 10-line math observation.
How do you train yourselves to recognize early that an idea is overcomplicated or doomed? Are there specific "smells" in a problem statement or constraints that make you immediately drop your current approach and look for something cleaner?



