CodingMedium
Minimum cost to buy N pens
Filed under Amagi
The question
Given M shops with stock, pen price, and delivery cost, find the minimum cost to buy N pens.
No write-up yet. Related questions below have one.
Related Amagi questions
Collected from public candidate posts and coding forums. Updated Nov 2026.