Number of common divisors

Problem Name:
Number of common divisors
Site:Spoj
Links:
Tags:
Problem setters: