Med school adcoms do not care which school/major you coming from, but they only look at GPA, if you don’t have it, you won’t get in. It is as simple as that. With a 3.0 - 3.2 you don’t have a chance at MD schools, even DO schools you have a problem.
There ARE straight A students in CS, my brother was one from Berkeley, so go for it.