Stokes carried on where he left off at the second test in Cape Town where he bludgeoned his way to 258 in England's first innings.
Root, by contrast, said he had been disappointed with his own recent conversion rate.
"It was actually a bit of a relief when I managed to get past three figures," he added. "It's about making sure that when you get opportunities to make big runs you take them.
"Unfortunately recently I've not managed to do that so now is the time to push on and really make a big one."
Root, who has struggled with a back complaint, looked to be limping at times during his innings.
"You lot will probably think I'm a bit of a drama queen because every time there's something wrong with me," he joked.
"It was just a bit of cramp. I should be fine tomorrow."