8 ms·
I think it may helpful to decompose the permutation into circles, and create an equation system of time left from different states.
by im2w1l 11y ago
I think it may helpful to decompose the permutation into circles, and create an equation system of time left from different states.