Moved srand(time) out of loop around line 540. Otherwise (as Zig reports) many or all students get the same seed for new or reseeded problems.
Changed paths: