UVA496 Simply Subsets

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=6&page=show_problem&problem=437 [PDF](https://uva.onlinejudge.org/external/4/p496.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA496/403b7f93e4608ee232327d3ad7d9bf1ffabb4f4c.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA496/7409b372db14407c90324bd0f15eda9acdd05cc1.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA496/c1e23c64a381c7edb50f774bdce88461d2ce8d73.png)