Make dual-color templates use the problem's time limit.