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
English,
22 days ago
Computer Science,
22 days ago
Math,
22 days ago
Social Sciences,
1 month ago
Biology,
1 month ago
English,
9 months ago
English,
9 months ago