Say a canon is where the circle is, and it shoots two different canonballs at different angles, but at the same speed, which angle would make the cannonball hit the ground first?

Intuitively I'd think they'd hit at the same time, however, I remember a formula describing the second coordinate $y$: $y = - 1/2 \cdot g \cdot t^2 + v_{0y} \cdot t$
Where $t$ is the time, and $v_{0y}$ is the starting velocity. Thus a high $v_{0y}$, would lead to a greater total time $t$, thus it would hit A first. This seems to be missing something though.