Compressed StringYou are given a string SSS consisting of lowercase latin letters 'aaa' & 'bbb' only. Your task i...

Think Inside the BoxBabu Bhai is a student of AUST. He has some favorite numbers. His favorite numbers are those number ...

GrobyIn the 197080s, students in the Soviet Union had to face quite a hurdle. The administrators of sele...

Judging TroublesThe NWERC organisers have decided that they want toimprove the automatic grading of the submissions ...

Jumbled CommunicationYour best friend Adam has recently bought a Raspberry Pi and some equipment, including a wireless te...

Revisiting Metro Rail BlocksThe city of Dhaka is experiencing the construction of metro rails. Imagine one such metro rail spans...

Help Sakib!Sakib likes competitive programming. Often he takes part in online programming contests. But due to ...

Binary PigeonsThere are NNN pigeons standing one after another in a straight line. There are two kinds of pigeons:...

ACT 1: Ash Counting TreesAsh Ketchum has a weird rooted tree (read Notes sections if you don't know about tree data structure...

Next PermutationA sequence of NNN distinct integers is called a permutation if all the integers are between 111 and ...

Hououin Kyouma!Okabe Rintarou, the mad scientist is doing research to find the most desired Steins Gate. Besides be...

Tricky RacerTalent Bob is a galaxy wide known legend and a racer (in game :P). He always wins races by his trick...

The Game Is Finally OnAs Mr. Bean was playing a video game in the previous problem, now he is leveled up. At this level, h...

Jontrona!Isfan vai is on high demand nowadays. You know why, right? However, his best friend is somewhat disa...

Who Gets the Money!?Who doesn’t get happy after getting money in the pockets of clothes before washing them? During this...

Chance of Passing the QuizRocky is starting his online quizzes and he has been provided with some passing criteria. The rule o...

Robi Kaka's CubeOur beloved Robi Kaka has invented a cube. You have to solve only one side of this cube – a square o...

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