Simple multiple problem @ Dcoder
3 Aug 2023 1 minute read 0 comments Lochard $0.07
Problem: You are given 2 numbers N and M. You have to find the smallest number which when multiplied to N makes it a multiple of M. Input: First line contains T, number of test cases. Each of the next T lines contains two numbers, N and M. Output:...