When two cars collide head-on, it means that they were moving in opposite direction. The front ends hit each other. Given that the cars crumpled partially, it means that there was deformation. This means that kinetic energy is not conserved. Since ther is deformation and they stuck together after collision, it is
perfectly inelastic