Dancing Tuples
Given an array $A$ of size $n$, find how many tuple $(i, j, k)$ are there such that $1 ≤ i < j < k ≤...
Save BPL
Bangladesh Premier League (BPL) is one the most prestigious cricket tournaments. Talented players fr...
Wedding Day
Finally, Mr. Akela is getting married. He is very happy. His house is completely decorated with ligh...
Prime Range
Prime Numbers are such numbers which are only divided by 1 and the number itself. 2, 3, 5, 7, 11, 13...
Mahmud vs. Ridwan (Hard)
Mahmud is playing a game with Ridwan. Mahmud is given N cartesian points by Ridwan. Mahmud can conne...
Maximize Mismatch
You are given a permutation $P$ of number $1, \cdots , n$ (I.E. each number occurs exactly once). No...
Game of Fifteen
Little Tanjima loves to play with numbers. Her favorite subject is math. Recently her tutor Zuaina t...
Crypto-Number
Walt and Gus have a great rivalry. Recently Gus has developed a cryptographic system. Walt is trying...
Armed Bandit (Hard)
You are in a casino, and you are anxious to play on the new one-armed bandit – a slot machine they j...
Complementing DNA
In DNA strings, symbols 'A' and 'T' are complements of each other, as are 'C' and 'G'. The reverse c...
Convex Hull Generator
You have to generate a convex polygon which has N points each Xi is distinct and is between 1 and N...
Hack the Vault Security
The Cricket World Cup 2023 happened and grabbed everyone's attention with awesome games and amazing ...
Mr. Zuckerberg's Age Game
Mark Zuckerberg is the founder and CEO of Facebook, which he started in his college dorm room in 200...
Far From Sorted
Basim is new to programming. After learning about basic problem solving and data structures, he is n...
Easy Factorial?
It is time to show your performance on number theory. Why so late? Come to the point. You are given...
LR
This task is simple. You will be given 2 positive integers L and R. Find the number of positive even...
GCD Grid
You are given two integers N and M. You have to make a grid of N∗M size by following these rules: E...
Giveaway
Cherry isn't feeling well right now as she found a problem that she couldn't solve. So she started t...
Sum of GCD and LCM
The greatest common divisor (GCD) of two integers, is the largest integer that divides both of the i...
Make More Money
You, the great businessman of TEUB, arrived at ESC land which consists of N cities numbered from 1 t...
Daredevil Punishment
After the death of Mysterio, People started hating Peter Parker. Peter and his relatives were arrest...
Suffix Cutting
You are given an array a consisting of n integers a1​,a2​,....,an​. The array is called beautiful if...
Event Timing
Bob is making a new application for Android phones. Front-end of his app has a button like this: Whe...
String Is Not That Easy
Let's consider a string S which is obtained by concatenating the non-negative integers from 0 to 102...
The Archipelago of Mirpur
The archipelago of Mirpur consists of N islands. The famous architect PogPog was hired to connect al...
Toph uses cookies. By continuing you agree to our Cookie Policy.