Sanvi and Happy Pairs Sanvi is a very little and so much cute girl. She was playing with an array A of length N. While doi... |
Subsequence Fight You are given an array a1,a2,…,an consisting of n distinct integers and an integer k. You can cho... |
Ne-Zu-Ko Chaaaaaaaaaaaaan! Tanjiro and his sister Nezuko live in a village that is shaped like a circle with a radius R. There'... |
Special Pair Mr. X is an “array pagla” person. He loves doing different types of things with arrays. Today Mr. X ... |
Groby In the 1970-80s, students in the Soviet Union had to face quite a hurdle. The administrators of sele... |
String Game You have a list of N strings, denoted by A1, A2, ..., AN. Each string consists of lowercase English ... |
Help IKRI Ikri has a binary string s of length n. (each character of s is either 0 or 1) The weight of the bin... |
Lucky Stone Game Alice and Bob are playing a stone game. They consider 4 and 7 as lucky numbers and they like to make... |
Not Nim Alice and Bob recently learned about Nim. In a Nim game, two players play a game on several stacks o... |
Hardest Problem Ever Prof.Dr.DP is very famous professor. He is expert (actually legendary grandmaster) in Dynamic Progra... |
Exponential Growth You will be given two integers X and N, you have to calculate XN modulo 1000000007. |
Cache Cash You are a software developer in a reputed firm. For a previously written badly optimized module you ...
Moderate
4/7/19 |
Keep Away From Those Oceans We all know the great story of the Ant and the Grasshopper. Clever Ant survived the tough time of wi... |
Ulta Masud Mr. Masud is a superstitious executive of an administrative office in Wadia, and you have to bribe h... |
Sticking Pins You are sticking pins on a 2D board at N given coordinates. However, since you are not very good at ... |
Chowdhury Saheb & the Numbers You like short description of problems? Me too! Let's go to an easy problem. You are given an array ... |
Prime Range Prime Numbers are such numbers which are only divided by 1 and the number itself. 2, 3, 5, 7, 11, 13... |
Birthday of Aliens On the planet of Royal Royal, a university named Royal University of Engineering and Technology exis... |
MonoMono You have probably heard of the famous board game, Monopoly. According to Wikipedia, in this game, pl... |
Run Barry, Run Flash is a fictional character in DC comics. He is regarded as the hero who can run and heal fast. S... |
Composite Facts Let's define two functions F and S: F(n) = 1 + n! S(n,m) = Sum of first m non-prime integers which ... |
Simple Because all the problems are so hard these days, this is a very simple problem. Suppose you are give... |
Wheel Graph Today we will learn about a special type of graph called Wheel Graph. In the mathematical discipline... |
M-Sequence A sequence is called M-sequence if after removing zero or more elements from the sequence the GCD of... |
A Very Tough Problem Now-a-days life is very Toph and you need to face a lot of Toph problems. Here is another problem li... |