Can any one tell how to solve the question SECRECP from june cook-off 2019?

link to the question.

I will be also grateful if you tell what are the pre-requisite of this problem.

Thank’s in advance.

the editorial is out now! :smiley:

1 Like

It’s still private…