hi everyone, I hope all of you doing well, I need help with this problem with proof for the solution to understand all the details plz . I was trying to play with the binary representation of the numbers because of the very large constrains of ai but i didn't reach for any valid solution. https://codeforces.net/edu/course/2/lesson/9/2/practice/contest/307093/problem/G
.
if the gcd of the whole array is not 1 there is no sol so can you use that to your advantage
i thought id give you a hint instead of the full sol if you want it reply to this message