Assignment 5 number of snapshots

Assignment 5 number of snapshots

by Hanfu Gong -
Number of replies: 0

In the lecture, we gave the "trick" of taking step mod (total_steps / num_of_snapshots) and output whenever the value was 0. However, this leads to an obvious issue: when num_of_snapshots divides total_steps, this gives an additional output. Can we keep it this way for our implementations?