I remember doing the same thing in my exams but the problem was that I'd always run out of time and wasn't getting the best grade. I was doing pretty good otherwise and my understanding was deeper. I wouldn't recommend doing that in exams if you care about grades. I didn't and still don't but not to the point of having bad grades or failing at anything.
Yeah my grades were terrible but there was this one time that the teacher had to regrade everyone because I spotted something he hadn't seen himself and so my solution was better than the one everyone was repeating by rote memorization.
I always took the elite classes so that stung a lot for all those perfect students.
I don't give a fuck about grades, that system of assessments is cruel and inaccurate. It makes people stupid.