Thursday, June 27, 2019

Maximum Loot Problem

Maximum Loot Problem

More details about the problem are mentioned at:


Input:
5 5 10 100 10 5

Output:
110
Input:
1 2 3

Output:
4


No comments:

Post a Comment