Easy

This problem is very easy. As my mood is not so good, I will not elaborate the statement unnecessari...

Ekupai

Hacker robot Ekupai is trying to hack a supercomputer. He needs a cheat code X to hack this computer...

Sgt. Laugh

That’s it. Sgt. Laugh has had enough. He is determined to end the evil military reign of General Cry...

Video Game Pro

Shefin is playing a video game. In this game, there will be N buildings in a row. i^{th} building ha...

Unique Relief

Thanos has now figured out how to visit all the houses in the flood-affected area. However, now he h...

Array Partition

Today Leena learnt about subarrays and partitions. Given an array A, a subarray of this array is a p...

Convert String Into Palindrome

A palindrome is a word, number, phrase, or other sequence of characters which reads the same backwar...

A Journey Towards One

Given N. You can perform 3 types of operations: Increase N by 1. Decrease N by 1. Divide N by 2 (On...

Easy Sequence 1

Let’s define an easy sequence F. Where F(1) = 1 F(2X) = F(X)^2 + 1 F(2X+1) = F(X) \times F(X+1) + 2 ...

Burger King

Every day, more than 11 million guests visit BURGER KING® restaurants around the world. And they do ...

Interesting Pile Game

Turja and Akash are playing an interesting game. Initially a pile of N stones is given to them. Each...

Paranoid Trading

You have been newly appointed as the accountant of Michael Corleone - the famous mafia boss. Your ta...

Divisible by 3

You will be given a string containing digits. You have to say the number of sub strings whose sum is...

Fivefold Removals

Alice and Bob are playing a simple game on marbles. They have a bucket containing N marbles, and the...

LIDS

We all know about LIS ( Longest Increasing Sub sequence). The task to find the length of the longest...

Polygon Construction (Hard)

Meera in going to picnic with her friends. They are going to have lots of fun. They will be doing va...

Penguins of Madagaskar

You all heard about the Penguins of Madagaskar. They work for the penguin kind and loves cuteness. O...

Third Dimension

Mr. J wants to learn about combinatorics. He started reading a book on combinatorics and came across...

m-Beautiful Numbers

An m-Beautiful Number is a number which is divisible by m and the sum of the digits is also divisibl...

No GCD

You are given N integers. Each integer is square free (i.e. it has no divisor which is a square numb...