Maximum GCD Sum Queries

Problem Name:
Maximum GCD Sum Queries
Site:CodeForces
Links:
Tags:
Problem setters: