Balanced Relief Thanos just finished his relief work. We all know that Thanos loves balanced things. So he finds som... |
Euclidean TSP The famous Arora-Mitchell approximation algorithm for the Euclidean Traveling Salesman Problem (Eucl... |
Buildings There are n buildings in a row. The height of the i-th building is hi. You have ৳k. It is the amoun... |
Life Is Dark and Full of Error The problem title doesn't mean anything, right? Wrong! It's a fact! Anyway, let's get to business. T... |
Mind Flayer Has Attacked Again! Mind flayer, the shadow monster has attacked the town of Hawkins again. This time, the mind flayer h... |
Productive Employees Congratulations on becoming the new boss of "Horizontal Company, branch: Sylhet"! But now you have a... |
I Scream, You Scream! Meem loves ice cream cones. So much so that she created an ice cream stand to share the joy of ice c... |
Complex Operations You are given an array A of length N. You have to perform two different types of operations. In the ... |
The Story of Stringland The king of Stringland is employing an elite force of undercover agents to protect the kingdom from ... |
Poltu and Interesting Number Poltu Loves interesting number. So he wants to find this type of number. The definition of an intere... |
Most Difficult Problem Ever You are given a function like below: long long F(int A, int B, int C, long long x) { long long res =... |
Answer the Queries Given an array of N elements, indexed from 0 to N−1. Now you are given some queries in the form [L,R... |
XOR Partition Neo has a hidden array A of n integers where 0 ≤ Ai ≤ 109 is satisfied for each i from 1 to n . You ... |
M-Sequence A sequence is called M-sequence if after removing zero or more elements from the sequence the GCD of... |
Jenga Tower Maybe you all are familiar with Jenga Game. "Jenga is played with 54 wooden blocks. Each block is th... |
Watercolor Bob is the owner of a shop named "Color Maker". He has 256 types of watercolor in his shop. The type... |
City of Burgerland Have you ever heard of The Burgerland City? The city is full of burger shops. You will surely find s... |
Beauty Factor Mehedi and Burhan are two friends. Yesterday they have participated in a class of sorting. Actually ... |
Straightforward No gossip. In this problem I will just say what to do. Initially, you will be given a bracket sequen... |
Dividing the Gifts Today is a very good day in CSEmpur because Tuktuki has bought N gifts! Tuktuki wants to give these ... |
The Packaging Box VHL is an international mail service company. Customers can send various packages to different place... |
Be Like Hasib Hasib, the famous programmer, uses a little game when he teaches Binary Search to his students. He r... |
Shopping There are two gift shops in the city. They are going to merge together to create a bigger company. Y... |
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)×F(X+1)+2 Here X is a posit... |
The Multiplayer Action Game Have you played the game Agar.io? According to wikipedia, Agar.io is a massively multiplayer action ... |