the city of coins is a wired city.in this city,there are coins whose value in negative as well as positive.a person called chintu who gets hos pocket money every month received his pocket money this month.so he placed all the coins that he got as pocket money on the table.noe,there are n coins on the table he picks a bunch of coins that are consecutive.he needs the maximum money from overall coins.help chintu in getting the maximum money
Answers
Answered by
0
Answer:
The consecutive coins are only 1 and 2.
Therefore maximum amount of money he could have is 6×1+6×2 = rs 6 + rs 12 = rs 18.
Similar questions
Math,
1 day ago
Social Sciences,
2 days ago
Biology,
2 days ago
English,
8 months ago
English,
8 months ago