ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1005. Stone Pile

HOW TO SOLVE 1005?HELP ME!!!
Posted by hutao 4 Aug 2004 14:05
Re: HOW TO SOLVE 1005?HELP ME!!!
Posted by Sandro 4 Aug 2004 15:29
You can check all 2^N subsets.
Re: HOW TO SOLVE 1005?HELP ME!!!
Posted by Gheorghe Stefan 4 Aug 2004 16:00
See some older posts...
It's the backpack problem but, as the numbers are large, you must use bit flags...