Sophomore year

Hi,
I am a sophomore at the 7th best high school in Illinois, and I was wondering if my grades are good enough to get into Stanford or UC Berkeley(my top 2 choices) as a comp sci major.

This semester:
AP Calc BC: a-
AP Computer science a-
biology honors a
ap econ a
ap lang and comp b+
Spanish(junior level) honors b

just wondering if these decent grades look fine because I am in accelerated classes.

It depends upon how rest of the grade is performing, if other kids aren’t scoring all A+ then you are good.