Hi to all,

I have learned dp and bitmask but i want to mix between them.

I want a simple tutorial about

**dp with bitmask**and a simple problem explain the basic idea and it would be useful if you provide me with__problems sorted by difficulty .__**DP with bitmask**Hope to help me , thanks in advanced .

Finally i got the idea behind using bitmask with Dp as rng_57 said it's just used as state.

http://acm.timus.ru/problem.aspx?space=1&num=1152

http://acm.timus.ru/problem.aspx?space=1&num=1817

http://acm.sgu.ru/problem.php?contest=0&problem=527

http://acm.sgu.ru/problem.php?contest=0&problem=536

http://codeforces.com/problemset/problem/8/C

http://codeforces.com/problemset/problem/16/E

http://codeforces.com/problemset/problem/71/E