Slow Solution Solution Codechef

Slow Solution Solution Codechef Chef is trying to solve a problem having T test cases, where, for each test case he is given a single integer N. Chef has an algorithm which takes exactly N2 iterations for a test case with value N. The constraints of the problem are as follows: 1≤T≤maxT 1≤N≤maxN Sum of N over all test cases does not exceed sumN. Given … Read more