Close

Stamps problem – SPOJ

This problem is from SPOJ. Give it a try by following this link! The simplified problem statement is as follows.  You need to collect some stamps from friends. Suppose you have n friends and each of them have some stamps with them {s1, s2, … sn}.   The problem is to find if we can…

Problem of candies: SPOJ

This problem is from SPOJ (Sphere Online Judge – A site to practice your problem solving skills). If you want to solve this problem on your own, please follow the link.The simplified problem description is as follows.  A teacher has n packets of candies of varying sizes. The problem is to find the number of…