Mathematics, Competitive Programming, Philosophy, Discrete Mathematics.
repaintings. Exactly n repaintings happen when each cell of the original strip is of a different colour and the stroke paints over the entire strip. For our 1*100 strip, such a stroke needs a 100-coloured strip to start with but yields a unicoloured strip. It results in the “death” of 100 segments