Paltu, a Prime Lover
Note that the memory limit is unusual. Paltu is a good programmer and he loves prime numbers. One da...
Distinct Dishting
You are given an array of N integers. Then there will be Q commands of the following type: Change ...
A Unique Array
An array is called "unique" if it has no consecutive element with same value(A[i] != A[i-1]). Given ...
Just Another Range Query
This is another simple range query problem where you will perform some updates and answer some queri...
Welcome to Criterion Rounds
The team congratulates you for participating in this contest and for being part of the journey towar...
Itachi's Challenge
Sasuke is a 12-year old ninja who is very much interested in learning Ninjutsu (A tactic used by nin...
Exists or Not Exists
You will be given some numbers. Then there will contain some queries. In every query there will be g...
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...
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...
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.