题解 | #求最小公倍数#
求最小公倍数
https://www.nowcoder.com/practice/22948c2cad484e0291350abad86136c3
#include <stdio.h>
#include <string.h>
int main(){
int a, b;
scanf("%d %d", &a, &b);
long multiple = a;
while(multiple % b != 0){
multiple += a;
}
printf("%ld", multiple);
return 0;
}

