pages:
  • 1
AR.Fereydouni SAYS

Nuh?!

Output: Number of pairs of p and q.

Sample Input: 3 60 Sample Output: 4

AMiR SAYS

11 11 said:

Nuh?!

Output: Number of pairs of p and q.

Sample Input: 3 60 Sample Output: 4

"Number of pairs of p and q" means "how many such pairs exist".