In an Alexandrov space with curvature bound, we prove that a curvature takes the extreme value over some specially constructed surfaces if and only if each of the surfaces is totally geodesic and locally isometric to a surface with constant curvature.