Nick Martinelli scored 29 points to lead Northwestern to a 78-74 victory over Maryland on Wednesday night to end a five-game losing streak.