Distinct Dishting

You are given an array of N integers. Then there will be Q commands of the following type: 1) Change...

Set Union

Given two sets of integers, print the set containing the union of the two input sets. For example, g...

Do You Know Tree ?

“Stay at least one metre distance from others.” Corona has affected the World as well as Bangladesh....

Exist or not exist

You will be given some numbers. Then there will contain some queries. In every query there will be g...

Making Football Teams!!!

There are N football teams and each team has positive number of players. You are given Q queries. Q...

Video Game Pro

Shefin is playing a video game. In this game, there will be N buildings in a row. i^{th} building ha...

Matching Brackets

You will be given a sequence of opening and closing brackets of different types ((, ), [, ], {, and ...

Cut the Rope

Fahim is a rope seller. He has a special tool for cutting ropes. But recently this tool is behaving ...

A Super Easy Problem - "Array Query"

Let’s get into the problem directly without much description this time :D . You are given an array A...

Hablu's Team

This year Hablu wants to participate in ICPC. He studies in “*Habagoba University*” along with n oth...

Erik: The Candyboy - 2

Now Erik has more candies than he had previously. In fact, he has infinite number of candies, and he...

United State of Koanhali

Koanhali is a strange country. The govt. of Koanhali maintain the marriages of this country. If you ...

Tree Queries

You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre...

Palindrome Query I

You are given a string of length L. You have Q queries. In each query, you will be asked to either u...

Count the Chaos

Imagine, you have an array of integers of size N. At each index of this array is a unique integer fr...

Easy Peasy, Lemon Squeezy

Let’s consider an array A which is initially empty. We’ll perform two types of operation on that arr...

Bored??

“Avoid touching your face, particularly your eyes, nose or mouth to prevent the virus from entering ...

Taju Kage Bunshin No Jutsu

Naruto Uzumaki is one of the strongest ninja of RUET (Rasengan University of Ebisu and Tobi), posses...

Byang and War Tactics

Byang is learning about War Tactics from Raat, a famous martial arts master, who has successfully tr...

Easy Prime!

There are N numbers in an array. You will have Q queries. In each query, you can make 2 operations. ...