Non-empty subsets

Problem Name:
Non-empty subsets
Site:HackerEarth
Links:
Tags:
Problem setters: