『Codeforces 932E』Team Work
Problem
time limit per test
2 seconds
memory limit per test
256 megabytes
Description
You have a team of $N$ people. For a particular task, you can pick any non-empty subset of people. The cost of having $x$ people for the task is $x^k$.
Output the sum of costs over all non-empty subsets of people.