The Robbery
Time Limit: 5000MS | Memory Limit: 65536K | |
Total Submissions: 2216 | Accepted: 274 |
Description
In the downtown of Bucharest there is a very big bank with a very big vault. Inside the vault there are N very big boxes numbered from 1 to N. Inside the box with number k there are k very big diamonds, each of weight Wk and cost Ck.
Jo
Jo