When a body with a mass of 1 kg moves at constant velocity of 1 m/s and collide (elastic collision) with a body with the same mass that's at rest, we know from conservation of momentum and conservation of energy that the first body will stop and the other body will start moving at 1 m/s.
Newton's second law states that $F=m\frac{dv}{dt}$, therefor velocity has to be continuous (otherwise it doesn't have a derivative).
In our collision, the velocity of the second body before the collision is 0 m/s, and later it's 1 m/s. From intermediate value theorem we get that at some point in time, the velocity is 0.5 m/s.
The two bodies are mass-equal, therefore from conservation of momentum we get that at that point in time, the velocity of the first body is also 0.5 m/s.
Calculating the total kinetic energy will give us $\sum E_k=0.25\text{ J}$
before the collision, the total kinetic energy is $\sum E_k=0.5\text{ J}$
That seems to be a contradiction to conservation of energy.
Am I missing anything?