Maximum discount calculation
Filed under Arcesium
The question
Given n items, and two discount rules based on indices divisible by a and b respectively, calculate the maximum possible discount.
No write-up yet. Related questions below have one.
Related Arcesium questions
Collected from public candidate posts and coding forums. Updated Nov 2026.