The first sentence is better. However, "in reputed university" is not correct. "at a (more) prestigious university" is a possible suggestion.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
AnonymousIf I scored more marks, I would have studied in reputed universityThe second one would be possible with the simple conditional in the second part of the sentence "I would study..." meaning that it is still possible for the speaker to have good marks.