Can anyone properly explain me how supermask dp works? I learnt sos dp from [here] and I tried reading sum over superset from [here] and here but didnt understand properly. Can anyone explain with some proofs or how to reduce a supermask problem into a submask if at all possible. Thanks(http://codeforces.me/blog/entry/51630)(http://codeforces.me/blog/entry/45223)