I'm assuming the solution would have them all open each box with an equal probability, rather than simply opening at random?
We can number the prisoners and the boxes have already been numbered, so a configuration in this case is just a permutation of the numbers 1-100. What you should have is that the final chance doesn't depend on the numbering of the prisoners (or of the boxes).