RithwikG's picture
initial commit
7a8878c
raw
history blame contribute delete
229 Bytes
**Tutorial**
There are $$$2$$$ cases:
if $$$B = 1$$$, then the answer doesn't exist. Here we cannot get the nearly good numbers at all.
Otherwise, we can construct the answer as $$$A + A \cdot B = A \cdot (B + 1)$$$.
**Solution**