The problem of localizing sources of X-ray and gamma surges can be solved vis the installation of suitable monitors on several dispersed spacecraft. In this manner, determination of the coordinates of the source is possible only with the use of four spacecraft. In the case of the use of 3 or 2 spacecraft, it is necessary to use supplementary information. Data on the motion of a spacecraft around the center of a mass was used in the capacity of such information.