
You have n cards. Each card has two non-negative integers, ai and bi. There is a counter c indicating how many cards can be played. At the the beginning of the game, c 1. Every time you play a card, you get ai points and also get the opportunity to play bi additional cards. Specifically, every time you play a card, c-c-1 +bi (-1 for playing a card, +b, for the card
PayPal Gateway not configured
PayPal Gateway not configured