12888 - Count LCM

All about problems in Volume 128. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

12888 - Count LCM

Post by brianfry713 »

For input 3 5, the 12 pairs are:
1 1
1 2
1 3
1 4
1 5
2 1
2 3
2 5
3 1
3 2
3 4
3 5
Check input and AC output for thousands of problems on uDebug!
Post Reply

Return to “Volume 128 (12800-12899)”