Game of Gnomes
The enemy and their massive army is approaching your fortress, and all you have to defend it is a le...
Third Dimension
Mr. J wants to learn about combinatorics. He started reading a book on combinatorics and came across...
Choice Is Yours
For not participating on contests regularly, Hasnaine (read Has9) has decided to kill Santo. But nob...
Arunima City
After the big decentralization process, where Dhaka city's population were relocated, a new city cal...
Bad Neighbors
In the strange neighborhood of Nocu, a lot of people lives pretty happily, or so they think. Like mo...
Kotlin Heroes
The International Collegiate Programming Contest is an algorithmic programming contest for college s...
No Onion, No Cry
-Onions make us cry, don't they? They can make us happy too. -How? -Read the statement carefully! I...
Birthday Gift for SJ
Today is your best friend SJ’s birthday. You want to buy a birthday present for her. You want to buy...
NAC-SAC Game! (Hard. Well, Not Really. 😛)
Remember the game played by Akash and Guru on the NAC-SAC bridge? (For those cannot remember, Akash ...
Scary Big Chessboard
Our friend Alice got stuck in a big chessboard. The chessboard has N rows and N columns. Some cells ...
Expected Values From Bubble Sort
Bubble sort is a sorting algorithm that can sort an array of numbers in increasing order. In each of...
Paltu, a Prime Lover
Note that the memory limit is unusual. Paltu is a good programmer and he loves prime numbers. One da...
Counting Triplets
Given an array of N integers A1​, A2​, A3​, …, AN​. Vector has to find the number of Fibonacci Tripl...
GCD and Sum
Congratulations! You’ve been hired in “Buggy Software Ltd.” And you’ve been already given your first...
Yet Another Query Problem!
You are given an array $A$ of length $n$ consisting of integers between $1$ and $10^6$. You need to ...
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...
Interplanetary Mission
The National Space Center(NSC) is planning an interplanetary mission in a new galaxy far far away fr...
Sheldon's Obtuse Triangle
We all know Sheldon Cooper from The Big Bang Theory. Recently he got his Nobel Prize. He likes polyg...
Plantik
It is Argentina vs France in the football world cup final of 2022 in a parallel universe. You are a ...
Do you have Arithmophobia ?
Don’t worry! If you are a programmer, you might not have arithmophobia!! But Era has a weird phobia ...
Most Difficult Problem Ever
You are given a function like below: long long F(int A, int B, int C, long long x) { long long res =...
Help Lazy Tareq
There is a boy named Tareq Abrar who is very lazy. He likes sleeping. He also likes eating. His moth...
Oh Functions
Let’s define functions f and g as: f(x) = 2 * ( f(x-1) + g(x-1) - 1 ) * ( f(x-1) + g(x-1) - 3 ) + 12...
String Play
Milo has a string S of length L. Tutu picks a random prefix and Mota picks a random suffix of S. Now...
Building Boundaries
Maarja wants to buy a rectangular piece of land and then construct three buildings on that land. The...
Toph uses cookies. By continuing you agree to our Cookie Policy.