GCD Groups 2

2020 VietMX 1

You are given an array of $n$ integers. You need to split all integers into two groups so that the GCD of all integers in […]