Counting Murgis

Ever since that wicked thief took away some of her murgis (hens,...

Compute the Combination

Let P = C(N,0) - C(N,1) + C(N,2) - C(N,3) + … + C(N,N); where C(...

How Many Paths?

You are at the top left corner[position (1,1)] of a **R X C ** g...

String Play

Milo has a string S of length L. Tutu picks a random prefix and ...

Third Dimension

Mr. J wants to learn about combinatorics. He started reading a b...

Obligatory IDPC Problem

There are n people busy with arranging the upcoming Inter Depart...

Mr. Ant and His Problem

Mr. Ant has 3 boxes and the infinite number of marbles. Now he w...

Bad Neighbors

In the strange neighborhood of Nocu, a lot of people lives prett...

Meera and Solo Chocolates

Meera bought candies from the store. She is now going to distrib...

Bad Neighbors 2

As some of you already know, Nocu City has a history of having b...

Subset of Sequences

You will be given a set of sequences. Each sequence is a list of...

Secret Meeting

The world is terrified by Pandas! After a miraculous chemical ex...

Counting is Difficult 2

East West University Computer Programming Club (EWUCoPC) is arra...

Trivial Summation

The problem statement is so small. Give you four integers r, a, ...

Harry Potter and the Vault of Gringotts

“There was a break-in of Gringotts Wizarding Bank on 1 May, 1998...

XOR Master

Imam has been participating in online programming contests for y...

K-th DuoPalindrome

Alice likes playing with Palindromes (strings that read the same...

Easy Peasy Subset Sum

Little Oishee loves to watch TV. But her mother, who is a math t...

Bad Cook

Mr. Meme has recently moved to a foreign country named “Glorylan...