Taju Kage Bunshin No Jutsu
Naruto Uzumaki is one of the strongest ninja of RUET (Rasengan University of Ebisu and Tobi), posses...
Jenga Tower
Maybe you all are familiar with Jenga Game. "Jenga is played with 54 wooden blocks. Each block is th...
Not As Hard As It Seems
Sakib and Shamim are good friends. As Sakib is a little naughty, every night before exam he disturbs...
Social Distancing
The country of KhoaNali is structured as a giant road with N buildings on both sides, the northern b...
Easy Peasy, Lemon Squeezy
Let's consider an array A which is initially empty. We'll perform two types of operation on that arr...
Distinct Dishting
You are given an array of N integers. Then there will be Q commands of the following type: Change ...
Counting Friends
Johnny uses a social network called Supernova. Unlike the other social networks, Supernova does not ...
MSIS!
Do you know what MSIS is? MSIS is the abbreviation for Maximum Sum Increasing Subsequence. It is a s...
City of Burgerland
Have you ever heard of The Burgerland City? The city is full of burger shops. You will surely find s...
Tree Queries
You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre...
Data Structure
The operations that are performed in a data structure can be categorized into two types: query and u...
MEXimum
Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au​ ass...
Cut the Rope
Fahim is a rope seller. He has a special tool for cutting ropes. But recently this tool is behaving ...
United State of Koanhali
Koanhali is a strange country. The govt. of Koanhali maintain the marriages of this country. If you ...
Modulo
Let's get straight into the problem. In ths problem, here will be multiple test cases. In each test ...
Subarray Sum
You are given an array having N integers. You have to select at most K positions in the array and re...
ICPC World Final
ICPC (International Collegiate Programming Contest) World final is one of the most prestigious conte...
Exists or Not Exists
You will be given some numbers. Then there will contain some queries. In every query there will be g...
Mad Engineer Aksir
Can you imagine? Mad Engineer Aksir finally got the job. His job is to set up toggle switch for a se...
Hablu's Team
This year Hablu wants to participate in ICPC. He studies in “Habagoba University” along with $n$ oth...
Another Query on String
You are given a string S (of length n) consisting of alphabets only. You need to perform m queries o...
Count the Chaos
Imagine, you have an array of integers of size N. At each index of this array is a unique integer fr...
Rivalry Friends
Ryo and his girlfriend love to think about challenges. One day his girlfriend gave him a challenge t...
Find the Good Sequence
Let's say two numbers are called "good" if their difference is at least 2. Similarly, a sequence is ...
Easy Prime!
There are N numbers in an array. You will have Q queries. In each query, you can make 2 operations. ...
Toph uses cookies. By continuing you agree to our Cookie Policy.