C. Dishonest Sellers time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Igor found out discounts in a shop and decided to buy n items. Discounts at the store will last for a week and Igor kno…