Solved Problem - PnC
In this lesson, we'll discuss a solved PnC Problem.
We'll cover the following...
Problem statement
There are different types of balls. There are balls of type 1, balls of type , and so on to . How many ways can you choose balls that are of different types?
Input format
The first line contains one positive integer N ...