all pair gcd product
how can I solve this problem? Any hints ? here is the problem link :
CodeChef Starters 134 Solution Discussion