MSIS!
Do you know what MSIS is? MSIS is the abbreviation for Maximum Sum Increasing Subsequence. It is a s...
Naughty Subsequence - V2.0
Mahib loves ‘Naughty Subsequence’-s. He will give you an array of characters ara[0,1,...,n-1] that c...
mashfiqur404 DP, DataStructure Very Easy 38/43/96
Nearest Light
We, iuian develop a virtual vertical line with infinite length are numbered starting from zero from ...
Neat Brackets
Given a sequence of opening and closing parentheses ("(" and ")") you will have to determine if it i...
New Year Couple
The new year 2017 is here. To celebrate the 31st night, Mr Rio has thrown a big party at his house. ...
Not As Hard As It Seems
Sakib and Shamim are good friends. As Sakib is a little naughty, every night before exam he disturbs...
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...
Perseus and The New Challenge
The life of princess Andromeda, the daughter of King Cepheus and Queen Cassiopeia of Ados, is in dan...
Phi Numbers in Range!
In number theory, Euler’s phi function, denoted as ϕ(n), is an arithmetic function which counts the ...
Poltu and Graph
Poltu has got a graph with N nodes and M edges. Every edge has a weight. There can be multiple edges...
Powerful Array
You are given an array A of N integers . Now you have to process Q queries in this array. Each query...
Primary Key
"Clarity-Lon" is the new awesome e-commerce based startup that went to the top of the chart within f...
Productive Employees
Congratulations on becoming the new boss of "Horizontal Company, branch: Sylhet"! But now you have a...
Protik and Hill Climbing
Who doesn't want to save a mother? Like everyone,  Protik was finding a way to earn some money (he h...
Race in DomKi
There is a kingdom called DomKi. DomKi has N city and N-1 two-way road. Each city is numbered with 1...
Rational Monkey
There lived a wise monkey in the forest of Amazon. One day he started searching the jungle for banan...
Remember the Name...
There's a famous song written by Mike Shinoda, which has these lines: This is 10% luck, 20% skill, ...
Restore Missing Values
Consider an array of 'N' integers which is indexed from '1' to 'N'. Exactly 'Q' queries numbered fr...
Rio and Inversion
One day Rio was returning home from his university and unfortunately lost his phone on the way. He a...
Set Union
Given two sets of integers, print the set containing the union of the two input sets. For example, g...
Smallest Subarray
You are given an array A of N integers A1, A2, A3, ..., AN . If we select two indices (1 ≤ i ≤ j ≤ N...
Smart Query Handler
Bit operators perform bit-wise operations between two binary numbers. Wikipedia says, binary operati...
Social Distancing
The country of KhoaNali is structured as a giant road with N buildings on both sides, the northern b...
Sofdor Ali and Bracket Sequence
Sofdor Ali has invented a new game. He asked his assistant Jong Bahadur ( who happens to be a monkey...
So Long
As all people know ICPC can be very dull sometimes for people other than contestants. Jodu, Modu, an...
Toph uses cookies. By continuing you agree to our Cookie Policy.