United State of Koanhali
Koanhali is a strange country. The govt. of Koanhali maintain the marriages of this country. If you ...
Exists or Not Exists
You will be given some numbers. Then there will contain some queries. In every query there will be g...
Another String Query Problem
This time I'm going to introduce you to a new land, called String Land. In String Land there are N ...
Kingdom of Equality
There is a kingdom called DomKi. There are N cities and N – 1 bidirectional roads in DomKi. The citi...
Erik: The Candyboy - 2
Now Erik has more candies than he had previously. In fact, he has infinite number of candies, and he...
Bored??
"Avoid touching your face, particularly your eyes, nose or mouth to prevent the virus from entering ...
Do You Know Tree ?
"Stay at least one metre distance from others.” Corona has affected the World as well as Bangladesh....
Yet Another Xinversion
The problem statement is simple. You are given a rooted tree (1 is the root) and every node has a co...
Social Distancing
The country of KhoaNali is structured as a giant road with N buildings on both sides, the northern b...
Hablu's Team
This year Hablu wants to participate in ICPC. He studies in “Habagoba University” along with $n$ oth...
Hide and Seek
You know how to play hide-and-seek, right? In a group of kids, one of them is selected to be the see...
Donate Our Department
We are students of CSE, IU. It is very well known that our departmental instruments are not so good....
Not As Hard As It Seems
Sakib and Shamim are good friends. As Sakib is a little naughty, every night before exam he disturbs...
Maximum Meetings
I am the boss of my company. I have n employees. The office time of my company starts at 1. Every em...
Powerful Array
You are given an array A of N integers . Now you have to process Q queries in this array. Each query...
Police Stations
Recently the government of country S is going to construct some police stations(possibly zero) in so...
Matching Brackets
You will be given a sequence of opening and closing brackets of different types ((, ), [, ], {, and ...
Tree Queries
You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre...
Another Query on String
You are given a string S (of length n) consisting of alphabets only. You need to perform m queries o...
Remember the Name...
There's a famous song written by Mike Shinoda, which has these lines: This is 10% luck, 20% skill, ...
Easy Prime!
There are N numbers in an array. You will have Q queries. In each query, you can make 2 operations. ...
Laser Light
A 2D grid consists of a lot of special lights bulbs, which turns on upon the incidence of a laser li...
City of Atlantis
Have you ever heard of The Atlantis City? It’s a Greek mythological city. Its existence doesn’t matt...
C++ Vector Simulation
Array is an important data structure in computer science. It is also very important when it comes fo...
Battle of Endor
After myriad battles and death of million rebel soldiers, it is high time to destroy the imperial ar...
Toph uses cookies. By continuing you agree to our Cookie Policy.