there are many submission with different output has been accepted may be due to weak test case this is my solution https://www.codechef.com/viewsolution/8814397 and this is others solution https://www.codechef.com/viewsolution/8815530 both solution gives different output at 1 4 12 26 34 76 according to my approach gcd is 2 and acco. to this one gcd is 4 for (12 (min),76 (max)) there are so many solution with different output this was one of them i dont know my method is correct or not if i am wrong them please tell me i hope my solution and approach is correct. i found weak test cases many times and suggested to contest admin may be this time also :) asked 23 Nov '15, 00:33

The test cases are weak. Submission : https://www.codechef.com/viewsolution/8818267 On input : 3 7 11 19 The answer should be 3 but it gives answer as 12.Still Accepted. answered 23 Nov '15, 01:05

@tihorsharma123 The input is: 3 7 11 19.. that is n = 3 and the values in the array are 7, 11, 19.The answer should be 3. answered 23 Nov '15, 04:58

@shikharid its giving answer as 4 which is correct only !!! answered 23 Nov '15, 02:20
