Easy Prime! There are N numbers in an array. You will have Q queries. In each query, you can make 2 operations. ... |
Rivalry Friends Ryo and his girlfriend love to think about challenges. One day his girlfriend gave him a challenge t... |
Count the Chaos Imagine, you have an array of integers of size N. At each index of this array is a unique integer fr... |
Another Query on String You are given a string S (of length n) consisting of alphabets only. You need to perform m queries o... |
Answer the Queries Given an array of N elements, indexed from 0 to N−1. Now you are given some queries in the form [L,R... |
Exists or Not Exists You will be given some numbers. Then there will contain some queries. In every query there will be g... |
Itachi's Challenge Sasuke is a 12-year old ninja who is very much interested in learning Ninjutsu (A tactic used by nin... |
Welcome to Criterion Rounds The team congratulates you for participating in this contest and for being part of the journey towar... |
Just Another Range Query This is another simple range query problem where you will perform some updates and answer some queri... |
A Unique Array An array is called "unique" if it has no consecutive element with same value(A[i] != A[i-1]). Given ... |
Distinct Dishting You are given an array of N integers. Then there will be Q commands of the following type: Change ... |
Paltu, a Prime Lover Note that the memory limit is unusual. Paltu is a good programmer and he loves prime numbers. One da... |
Queries, Queries Everywhere You are given an array a of length n. You are also given q queries on the array and you have to proc... |
Taju Kage Bunshin No Jutsu Naruto Uzumaki is one of the strongest ninja of RUET (Rasengan University of Ebisu and Tobi), posses... |
Crayons Five friends A, B, C, D and E has come to a shop to buy crayons for their art project. They need cra... |
GCD and Sum Congratulations! You’ve been hired in “Buggy Software Ltd.” And you’ve been already given your first... |
Maximum Distance You know it’s hard seeing your favorite person being interested in another one instead of you. At th... |
Jumping Frog (II) A frog wants to cross a river. There are some posts in the river. The frog can go from one post to a... |
Change Queries Today is a very special day for Rubel. Recently he got a job in a software company. Now today is the... |
Straightforward No gossip. In this problem I will just say what to do. Initially, you will be given a bracket sequen... |
Nothing Is Absolute, Everything Is Relative! You are given an integer array, A[] of size N, and an integer M. Then you have to perform a total of... |
Palindrome and Queries You'll be given an array A of N strings containing lowercase English letters only and Q queries. In ... |
A Journey to Rupsha Tomorrow, April 14th, 2019 is a special day. Guess why. Bengali New Year? Your guess was partially c... |
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... |
Escape Plan Hey, you are stuck on prison and you have to get out soon. This prison has one way road and you can ... |