Problem Description
Loading...
Problem Analysis
If you only read the statement and not the data, you might easily mistake it for a product.
(Though it shouldn’t be that confusing… -.-)
The problem asks for the least common multiple.
Just divide the product of the two numbers by their greatest common divisor.
cpp
| |
Problem link: [ZZULI] [1778] Monk’s Troubles 4 — How Much Combat Power