https://www.acmicpc.net/problem/2609 2609번: 최대공약수와 최소공배수 첫째 줄에는 입력으로 주어진 두 수의 최대공약수를, 둘째 줄에는 입력으로 주어진 두 수의 최소 공배수를 출력한다. www.acmicpc.net #include #include using namespace std; int gcd(int big, int small) { while (big % small) { int tmp = big % small; big = small; small = tmp; } return small; } int lcm(int big,int small,int gcd_p) { return big * small / gcd_p; } int main() { int b, s; cin >> b >>..