Please provide solution for this problem asked in COW conducted by MNIT(JAIPUR).
Link to Solution: VK Cup 2017 Round 1 and CF Round 405 — Editorial - Codeforces ,In the link 771D is the solution .
Please provide solution for this problem asked in COW conducted by MNIT(JAIPUR).
Link to Solution: VK Cup 2017 Round 1 and CF Round 405 — Editorial - Codeforces ,In the link 771D is the solution .