Distinct DishtingYou are given an array of NNN integers. Then there will be QQQ commands of the following type: Cha...

A Unique ArrayAn array is called "unique" if it has no consecutive element with same value(A[i] != A[i1...

A Journey to RupshaTomorrow, April 14th, 2019 is a special day. Guess why. Bengali New Year? Your guess was partially c...

Taju Kage Bunshin No JutsuNaruto Uzumaki is one of the strongest ninja of RUET (Rasengan University of Ebisu and Tobi), posses...

Count the ChaosImagine, you have an array of integers of size NNN. At each index of this array is a unique integer ...

CrayonsFive friends A, B, C, D and E has come to a shop to buy crayons for their art project. They need cra...

Superman and the Buildings of DahakaTo end the longrunning feud between Superman and Goku fans regarding who's stronger, Zeron has deci...

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

Rivalry FriendsRyo and his girlfriend love to think about challenges. One day his girlfriend gave him a challenge t...

Answer the QueriesGiven an array of N elements, indexed from 0 to N1. Now you are given some queries in the form [L, ...

Birthday of AliensOn the planet of Royal Royal, a university named Royal University of Engineering and Technology exis... 
No Onion, No CryOnions make us cry, don't they? They can make us happy too. How? Read the statement carefully! I...

Welcome to Criterion RoundsThe team congratulates you for participating in this contest and for being part of the journey towar...

StraightforwardNo gossip. In this problem I will just say what to do. Initially, you will be given a bracket sequen...

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

Itachi's ChallengeSasuke is a 12year old ninja who is very much interested in learning Ninjutsu (A tactic used by nin...

Just Another Range QueryThis is another simple range query problem where you will perform some updates and answer some queri...

Another Query on StringYou are given a string S (of length n) consisting of alphabets only. You need to perform m queries o...

Jumping Frog (II)

Palindrome and QueriesYou'll be given an array A of N strings containing lowercase english letters only and Q queries. In ...

Maximum MeetingsI am the boss of my company. I have n employees. The office time of my company starts at 1. Every em...

Donate Our DepartmentWe are students of CSE, IU. It is very well known that our departmental instruments are not so good....

Stick GameShahwat has a stick that has n blocks that are indexed from 1 to n (from first to last). Each block ...

Bored??"Avoid touching your face, particularly your eyes, nose or mouth to prevent the virus from ente...

Paltu, a Prime LoverNote that the memory limit is unusual. Paltu is a good programmer and he loves prime numbers. One da...

2Sat, Adhoc, ApolloneasTheorem, Backtracking, BFS, Bignum, BinarySearch, BipartiteMatching, Bitmask, BruteForce, ChineseRemainderTheorem, Combinatorics, ConvexHull, CutVertex, DataStructure, DFS, DigitDP, DisjointSets, DivideAndConquer, DP, Eertree, EulerTour, ExpectedValue, FenwickTree, FFT, Flow, Game, GCD, Geometry, Graph, Greedy, Hashing, HeavyLightDecomposition, Implementation, InclusionExclusion, Interactive, KnuthMorrisPratt, LowestCommonAncestor, Math, Matrix, MatrixExponentiation, MergeSortTree, ModularExponentiation, MOSAlgorithm, MST, NTT, NumberTheory, Parsing, PersistentLiChaoTree, PersistentSegmentTree, PollardRho, PriorityQueue, Probability, Queue, RabinMiller, RangeOrderStatistics, Scheduling, SegmentTree, ShortestPath, Simulation, Sorting, SparseTable, SpragueGrundyTheorem, SqrtDecomposition, Stack, String, StronglyConnectedComponents, SuffixStructure, TernarySearch, Tree, Trie, TwoPointer, WaveletTree