Let Mn(n≥3) be a complete Riemannian manifold with secM≥1, and let Mini (i=1,2) be two comlplete totally geodesic submanifolds in M. We prove that if n1+n2=n−2 and if the distance ∣M1M2∣≥2π, then Mi is isometric to Sni/Zh, CP2ni or CP2ni/Z2 with the canonical metric when ni>0, and thus M is isometric to Sn/Zh, CP2n or CP2n/Z2 except possibly when n=3 and M1 (or M2) ≅isoS1/Zh with h≥2 or n=4 and M1 (or M2) ≅isoRP2.