The burning efficiency of a preliminarily compressed inertial confinement fusion (ICF) target with a solid noncryogenic fuel (deuterium-tritium beryllium hydride) upon fast central ignition by a fast ion beam is studied. The main aim of the study was to determine the extent to which the spatial temperature distribution formed under the heating of an ICF target by ion beams with different particle energy spectra affects the thermonuclear gain. The study is based on a complex numerical modeling including computer simulations of (i) the heating of a compressed target with a spatially nonuniform density and temperature distributions by a fast ion beam and (ii) the burning of the target with the initial spatial density distribution formed at the instant of maximum compression of the target and the initial spatial temperature distribution formed as a result of heating of the compressed target by the ion beam. The threshold energy of the igniting ion beam and the dependence of the thermonuclear gain on the energy deposited in the target are determined.