标签
- 数学、最大公约数、最小公倍数
题目地址
C - Snack
- https://atcoder.jp/contests/abc148/tasks/abc148_c?lang=en
问题描述
Problem Statement
Takahashi is organizing a party.
At the party, each guest will receive one or more snack pieces.
Takahashi predicts that the number of guests at this party will be A or B.
Find the minimum number of pieces that can be evenly distributed to the guests in both of the cases predicted.
We assume that a piece cannot be divided and distributed to multiple guests.
Constraints
- 1 ≤ \leq