Sorted GCD Pair Queries

hardSolve on LeetCode
Last edited: July 17, 2026