CHAPEL HILL, N.C. (AP) North Carolina coach Roy Williams spent a sleepless night stewing over an ugly weekend loss, then showed his players the film of what happens when they don't play with the toughness or intensity needed to joust with a top-tier opponent.

It's too early to say if his 13th-ranked Tar Heels learned from it just yet, though they at least refound their shooting touch against Michigan.

Luke Maye scored 27 points to help UNC beat the Wolverines 86-71 on Wednesday night in the Big Ten/ACC Challenge, earning a solid offensive showing days after a miserable output against Michigan State.

Joel Berry II added 17 points for the Tar Heels (6-1), who lost 63-45 loss to No. 3 Michigan State in the PK80 Invitational on Sunday night. That included them shooting a program-record-low 24.6 percent, making just 1 of 18 3-point attempts and meekly responding to a team that came after them defensively.

''I'm not one of those coaches that's just going to say, `Oh it's a bad game, well let's go on,''' Williams said, adding: ''You make those kind of mistakes and have people outwork you with more intensity and more effort, I think you've got to show them.''

The Tar Heels closed the first half on a 17-5 run for a 51-37 lead, then went a 17-2 run to blow the game open. And that 34-7 run over roughly 13 minutes turned a 34-32 lead into a 68-39 romp with more than 13 minutes left.

''We've had seasons where we've lost early and the rest of the season went well for us,'' Berry said. ''So it's not time to panic, it's just time to get better and start buying into the system and understand what's going on.''

Moe Wagner scored 20 points to lead Michigan (6-2), which cooled quickly after a hot start and couldn't keep up once UNC got rolling.

''You've got to guard and rebound the ball,'' Wagner said. ''We didn't do both of them in the first half really well, so if you put yourself in a hole like that the first half, it's really hard to come back.''

BIG PICTURE

Michigan: The Wolverines started with an efficient attack that spread the court, knocked down 3-pointers and caught UNC backdoor. Charles Matthews even banked in a 3 to beat the shot clock and cap an 8-for-8 shooting start. But the Wolverines shot roughly 35 percent from there, including 6 of 30 from behind the arc, with execution that frustrated coach John Beilein - who said his team lacked first-half ''grit'' and ''got what we deserved.''

''I think North Carolina might be that good, and we're definitely not that bad,'' Beilein said. ''But we just certainly played bad, poorly today. We've just got to take it.''

UNC: While the Tar Heels let loose some pent-up frustration, it helped, too, that they were back home for the first time in two weeks after an extended trip west that included a win at Stanford before three PK80 games in Portland, Oregon.

''It was a little bit of a relief on Monday morning when we got here,'' said junior Kenny Williams, who had 12 points. ''just because we were out there for so long.''

ROLLING AGAIN

Maye had eight points on 3-for-13 shooting against Michigan State, but made 11 of 16 shots for his fifth 20-point game this season.

''I kind of wanted to bounce back from our game against Michigan State,'' Maye said. ''I think all of us did.''

TIP-INS

North Carolina didn't miss consecutive shots from the field at any point and shot 65 percent during that first half. ... This was the first meeting since UNC's 77-71 win in the 1993 NCAA title game that included Chris Webber famously calling a late timeout that the Wolverines didn't have. UNC honored members of that `93 team during a first-half timeout, too. ... Michigan is 2-6 in Challenge road games. ... UNC made 7 of 15 3-point attempts, with Berry and Kenny Williams each making three.

UP NEXT

Michigan: The Wolverines host Indiana in their Big Ten opener Saturday.

UNC: The Tar Heels travel to Charlotte to face Davidson on Friday.

---

More AP college basketball: http://collegebasketball.ap.org and http://www.twitter.com/AP-Top25

---

Follow Aaron Beard on Twitter at http://www.twitter.com/aaronbeardap

Copyright 2017 by AP. Any commercial use or distribution without the express written consent of AP is strictly prohibited.