The Travelling Customer
In this programming challenge you need to solve the following problem:
You are represented a pricelist, an itemamount and a sum, as well as the stock parameter.
Your job is to select
itemamount items which will result in the sum.
You may not select more items than
stock from each type.
Example:
Chips=4
Eggs=2
Items=5
Sum=14
Stock=3
Level=1
An accepted answer would be: 2Chips3Eggs
Visit
problem.php to request a new problem.
Send your answers to
answer.php?answer=[answer] with the format NItemnameNItemname.
You need to solve 5 problems and your timelimit for each problem is 3 seconds.
Good Luck!
© 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 and 2024 by
Gizmore