Problem of The Day 8 December 2016 — Monk and Divisor Conundrum
Here is another task for you, prepared by Monk himself. So, this is how it goes :
Given an integer array A of size N, Monk needs you to answer T queries for him. In each query, he gives you 2…