I have a couple of problems with your premise, here. The first is that no two encounters are exactly the same. Even if the party is facing exactly the same composition of enemies both times, and they have exactly the same resources going into the encounter, things like terrain, enemy tactics...