Energy deposition in intermediate-energy nucleon-nucleus collisions