Easy

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

The Hidden Island

It is believed that the hidden island of TreasureLand has many unsolved mysteries and undiscovered t...

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...

Hizitizi's Array Cutting

Hizitizi is a new character in our story. In every episode, he gets a task to do from his imaginary ...

Buildings

There are n buildings in a row. The height of the i’th building is hi. You have ৳k. It is the amount...

Unique Relief

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

Who Ate the Pizza Slices?

Misty’s life is very dramatic. No matter how careful she is, some interesting and sometimes unfortun...

Array Partition

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

Lexicographical Smallest String

There is a string s of length n containing lowercase letters and an integer k. Among the letters tho...

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...

Passwords

Alice wants to extract some passwords from a random string. A password can have any number of charac...

Fivefold Removals

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