Editorial for April Fools' Day Contest 1 P1 - Sample Case
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
Author:
Follow the instructions in the problem statement. Note that this problem uses the easy checker, which is why the sample output is valid for the sample input even though it is scrambled.
Time Complexity:
Comments