Incremental Induction
The Nordic Collegiate Pong Championship (NCPC) is an insanely competive tournament where every conte...
Cocoa Coalition
Alice and Bob decide to share a chocolate bar, which is an $n$ by $m$ rectangular grid of chocolate ...
Math Moderate 32/43/240
MEXFN
This is a straightforward problem without much story behind the problem. You have to calculate MEXF...
The Lucky Dice
Ray and Evangeline are playing a game named "The Lucky Dice". In this game, each player tosses up an...
Nodes and Depth
From the above figure, the number of nodes for the first three depths are 3, 9, and 27. You will b...
Killing Floor
$N (1 \leq N \leq 10^{18})$ robots have decided to take part on a battle royale. Every robot has a u...
Maximum Distance
You know it’s hard seeing your favorite person being interested in another one instead of you. At th...
ML Vs AI
Nowadays, CS students try to learn Machine Learning and Artificial Intelligence even before learning...
Poltu and Trailing Zero
Poltu gives a problem to his friend Boltu. The description is given below: You are given an integer ...
The Reminder to Expect
Do you know Trevor Philips? Well he is a mad guy who gets mad at everything. Recently he got mad at ...
Game, Game Everywhere
Binary and Ternary are playing a game. In this game, they initially choose an array with N elements....
Playing With Your Mind
Given a non-negative integers N. You have to find an integer P such that, the following conditions s...
Poltu and Digit Product
You are given two integer L and R. You have to find the summation of digit product of all number fro...
Corona Virus Attacked Kittuk
A large number of people are being infected with the Corona virus in Kittuk country. In that situati...
Freezed Standings
Team Depuradores and Team Resolvers represented their university in the ICPC world finals 2021. Depu...
Game of Gnomes
The enemy and their massive army is approaching your fortress, and all you have to defend it is a le...
Arunima City
After the big decentralization process, where Dhaka city's population were relocated, a new city cal...
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...
Interplanetary Mission
The National Space Center(NSC) is planning an interplanetary mission in a new galaxy far far away fr...
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...
Building Boundaries
Maarja wants to buy a rectangular piece of land and then construct three buildings on that land. The...
Diagonal Traversal
You are given an n×m grid. You can go from point (x1​,y1​) to any point (x2​,y2​) of grid if and onl...
Toph uses cookies. By continuing you agree to our Cookie Policy.