jdong > C++
Problem 001:
Input a finite number of characters delimited by space; output its power set. [ans]
Sample input and output
$ a b c
{Empty}
{a}
{b}
{b, a}
{c}
{c, a}
{c, b}
{c, b, a}
(order not important, $ sign means the line is an input line)