Arko and Special Permutations
Arko is very fond of permutations. He can easily calculate the number of n length permutations. (In ...
Bad Cook
Mr. Meme has recently moved to a foreign country named "Gloryland" for study purpose. There, he has ...
Bad Neighbors
In the strange neighborhood of Nocu, a lot of people lives pretty happily, or so they think. Like mo...
Bad Neighbors 2
As some of you already know, Nocu City has a history of having bad neighbors. These bad ones, take a...
Bi-Element Subsequence
You are participating in a game show. In the final round, the host pulls up a large sequence of posi...
Building Boundaries
Maarja wants to buy a rectangular piece of land and then construct three buildings on that land. The...
Challenge From Mr. Professor
One Day Mr. Professor was taking His schedule class on Discrete Mathematics. In this lecture, He was...
Chance of Passing the Quiz
Rocky is starting his online quizzes and he has been provided with some passing criteria. The rule o...
Circle of Death
Abir is a school going boy, who loves math. Also, he loves to play with stones. Recently he invented...
Color The Graph
You are given an acyclic, bidirectional graph with N nodes and M edges. The nodes are numbered from ...
Compute the Combination
Let 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 give...
Cook a Dish
Have you ever cooked something? No? Not a problem! Whenever you try to cook something, you need some...
Counting is Difficult 2
East West University Computer Programming Club (EWUCoPC) is arranging an Intra-University Programmin...
Counting Matrices
Given a natural number N and a prime p, let’s define a special set Zp​={0,1,2,…,p−1}. Now count the ...
Counting Murgis
Ever since that wicked thief took away some of her murgis (hens, that is), Meena was ever anxious th...
Counting Subsets
Mr. Meseeks has just turned evil and is on his way to destroy the universe. To stop him Rick and Mor...
Easy Peasy Subset Sum
Little Oishee loves to watch TV. But her mother, who is a math teacher, doesn't like this at all. Sh...
Expected Values From Bubble Sort
Bubble sort is a sorting algorithm that can sort an array of numbers in increasing order. In each of...
Game of Gnomes
The enemy and their massive army is approaching your fortress, and all you have to defend it is a le...
Game Show
Alex is participating in a game show. Mr. Phil is the host of the game. Alex is provided with an arr...
GCD, Divisor, Count!
I like short statements and you should too so here's the statement without further ado You are give...
Geometry Forever
Fear no more, this is a problem of geometry! When Moyna was little, he had a math teacher named Shuk...
Hange and Her Gear
Hange has developed a special gear to attack the Cart Titan. The gear is a round, disc-like object. ...
Harry Potter and the Vault of Gringotts
"There was a break-in of Gringotts Wizarding Bank on 1 May, 1998, during the height of the Second Wi...
Hasinur's Mission!
Let me tell you something about Hasinur: He is a religious person. He prays 5 times a day. He loves...
Toph uses cookies. By continuing you agree to our Cookie Policy.