The results of simultaneous measurements of variations of UV radiation (in a band near the hydrogen Lα line, 121.6 nm) and hard X-ray and gamma-ray radiation (50 keV-200 MeV) performed by the VUSS-L and SONG instruments, respectively, onboard the CORONAS-F spacecraft are presented for periods of solar flares. Variations in the Lα ultraviolet radiation during the impulsive phase of a flare are shown to be synchronous with those of hard X-ray radiation. Temporal variations of UV and X-ray fluxes correspond to the progressive heating of higher and higher regions of the solar atmosphere and the energy transfer from the lower layers of the solar atmosphere to the coronal areas of flare regions. The energy of electrons in beams arising during the impulsive phase of flares can be as high as 500 keV. The velocity of the energy propagation from the regions of its release to the upper layers of the solar atmosphere can reach several tens of kilometers per second.