Restore Modulo Codeforces Round #709 Div. 2 Solution
Restore Modulo solution codeforces For the first place at the competition, Alex won many arrays of integers and was assured that these arrays are very expensive. After the award ceremony Alex decided to sell them. There is a rule in arrays pawnshop: you can sell array only if it can be compressed to a generator. … Read more