Strong Elements solution codechef
Strong Elements solution codechef Chef has an array AA of length NN. An index ii is called strong if we can change the gcd of the whole array just by changing the value of AiAi. Determine the number of strong indices in the array. Input Format First line will contain TT, number of test cases. Then the test cases follow. First line of each test case contains an …