Need Help in GEHA2018 contest problem Just Arrays (GEHA1806)

can anyone help me to solve this problem ? what is approach to solve this problem ?
question link : CodeChef: Practical coding for everyone

editorials will be posted soon.

1 Like