Challenge From Mr. ProfessorOne Day Mr. Professor was taking His schedule class on Discrete Mathematics. In this lecture, He was...

Geometry ForeverFear no more, this is a problem of geometry! When Moyna was little, he had a math teacher named Shuk...

Perplexity of PermutationsA permutation of N integers from 1 to N is an array where each number has appeared exactly once in t...

Trivial SummationThe problem statement is so small. Give you four integers r, a, b, d. Find the summation of all numb...

Color The GraphYou are given an acyclic, bidirectional graph with N nodes and M edges. The nodes are numbered from ...

Counting MurgisEver since that wicked thief took away some of her murgis (hens, that is), Meena was ever anxious th...

Mina and RajuEveryone know about Mina & Raju. They are siblings as well as good friend. The friendcircle of ...

Bad CookMr. Meme has recently moved to a foreign country named “Gloryland” for study purpose. There, he has ...

Third DimensionMr. J wants to learn about combinatorics. He started reading a book on combinatorics and came across...

Meeting PlaceThere is an N*N grid where (r,c) denotes a cell number where r means row number, c means column numb...

Irregular Is Tough, Regular Is Easy!Dr. Bari is working on some chemical formation. He believes that chemicals and shapes that are regul...

Cook a DishHave you ever cooked something? No? Not a problem! Whenever you try to cook something, you need some...

XOR MasterImam has been participating in online programming contests for years. His goal is to become a “Maste...

Counting is Difficult 2East West University Computer Programming Club (EWUCoPC) is arranging an IntraUniversity Programmin...

String FactoryWelcome to the string factory where strings are generated in a peculiar manner. You are given a stri...

Obligatory IDPC ProblemThere are n people busy with arranging the upcoming Inter Department Programming Contest (IDPC) 2016...

Compute the CombinationLet P = C(N,0)  C(N,1) + C(N,2)  C(N,3) + … + C(N,N); where C(n,r) is “n choose r”. You are given ...

Mr. Ant and His ProblemMr. Ant has 3 boxes and the infinite number of marbles. Now he wants to know the number of ways he c...

String PlayMilo has a string S of length L. Tutu picks a random prefix and Mota picks a random suffix of S. Now...

Bad NeighborsIn the strange neighborhood of Nocu, a lot of people lives pretty happily, or so they think. Like mo...
