Kitchen Combinatorics The world-renowned Swedish Chef is planning a gourmet three-course dinner for some muppets: a starte... |
Tom Is a Good Mentor Today is the first day of the little mouse Jerry at school. Famous mathematician Tom is his teacher.... |
Powerful Number Efa loves numbers. She thinks a number is powerful if it can be expressed in the form xy where x and... |
Sofdor Ali's Restaurant One of Sofdor Ali’s greatest accomplishment was his Biriyani restaurant! Unlike the traditional rest... |
Help Chokro Pias and Chokro are good friends. Pias's birthday is coming soon. So, Chokro wants to gift Pias an a... |
String Factory Welcome to the string factory where strings are generated in a peculiar manner. You are given a stri... |
Magician's Offer! Rosi Vidmun is a greedy landlord who likes to grab as much land as he can. Currently he has P square... |
Phi Numbers in Range! In number theory, Euler’s phi function, denoted as ϕ(n), is an arithmetic function which counts the ... |
Prime Factors Given an integer N, can you determine its prime factors? |
Finding Lines Annabel and Richard like to invent new games and play against each other. One day Annabel has a new ... |
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... |
Subset of Sequences You will be given a set of sequences. Each sequence is a list of numbers. Two sequences are K-simila... |
Admission Gift During admission exams in the city of RR (Royal Royal city), the students of RR University of Engine... |
The Story of Two Friends There are two friends F1 and F2 in a city. They both are student of FCB High School. Also, they resi... |
Erik: The Candyboy - 1 Erik has N candies, and he wants to distribute those candies among his friends. But he has more frie... |
Palindromic CSEmpur Welcome to CSEmpur once again! It has been observed that a good number of inhabitants like palindrom... |
Arrange the Bricks! You have $N$ bricks two dimensional bricks of the dimension $1 \times 2$. The bricks are rotatable i... |
Is It a Perfect Square? Given some numbers, can you tell, if the product of these numbers are a perfect square or not? A num... |
The Game Is Back On Moriarty is bored again. When he gets bored, the only thing he wants to do is play with Sherlock. So... |
ACT 1: Ash Counting Trees Ash Ketchum has a weird rooted tree (read Notes sections if you don't know about tree data structure... |
Mystery of Fibonacci Fibonacci sequence is a recursive sequence that depends on the following definition: Fib(N) = Fib(N-... |
Bi-Element Subsequence You are participating in a game show. In the final round, the host pulls up a large sequence of posi... |
Bad Boy Ekhlas Ekhlas is a bad boy, not the type of bad that you generally admire. When he was little, his primary ... |
Hasinur's Mission! Let me tell you something about Hasinur: He is a religious person. He prays 5 times a day. He loves... |
Gutibaji on Chessboard Let there be a chessboard of size N×M, and only one bishop in a cell (x,y). How many cells can the b... |