Problem Description
Loading...
Problem Analysis
The statement is fairly clear and easy to follow, but there is one mental trap.
The problem asks for the maximum number of little red flowers you can get, so when doing the division you need to round down rather than the default rounding.
AC Code
cpp
| |
Problem link: Wei Haokan’s Little Red Flowers - Problem Details - Problems - DidaOJ