cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
MagicJar
MagicJar
Feb 5, 2019 at 10:06pm UTC
dutch
(2548)
Example input: 3 4 1 2 3 4 4 7 3 5 2 3 1 5 10 Example output: 7 14 14
I'm not entirely sure if these are correct, though. I interpret the question as asking the minimum number of jars required given that the chefs take them in the worst possible order.
https://www.codechef.com/FEB19A/problems/MAGICJAR
Last edited on
Feb 5, 2019 at 10:15pm UTC
Topic archived. No new replies allowed.