Hello everybody,
I didn't completely understand the tutorial of Codeforces Round #649 Problem 1364A -XXXXX. Particularly, I am having trouble with this line of the tutorial. "So let the first non-multiple of x be at index l, and the last one be at index r. We must either remove the prefix all the way up to l or the suffix all the way up to r, and we'll clearly remove whichever shorter."
Could somebody please help me? I am new to codeforces and I really need help.