Clock Fantasy
One day the author imagined an analog clock with minute and hour arms. The thought was simple: if we...
String Is Not That Easy
Let's consider a string S which is obtained by concatenating the non-negative integers from 0 to 102...
Compressed String
You are given a string $S$ consisting of lowercase latin letters '$a$' & '$b$' only. Your task is to...
Think Inside the Box
Babu Bhai is a student of AUST. He has some favorite numbers. His favorite numbers are those number ...
Shuvo Noboborsho!
"Shuvo Noboborsho" is the traditional greeting for Bengalis in the Bengali new year which means "Hap...
Ice-Cream of Montu Mia Again!
Montu Mia is a student of “Omok School”. He likes to eat an ice-cream every day. But he also likes t...
Strong Passwords
Mitu had been using the password mitu1997qt on all her online accounts. And sure enough, her account...
Make More Money
You, the great businessman of TEUB, arrived at ESC land which consists of N cities numbered from 1 t...
Jealous Nobita
Shizuka and Dekisugi are playing with a binary tree rooted at 1. In each turn, the player chooses a ...
Locality-Sensitive Hashing I
According to Wikipedia, Locality-Sensitive hashing (LSH) is an algorithmic technique that hashes sim...
Match Sticks
Bob was playing with match sticks and discovered that he could create alphabets and numbers by arran...
Help Sakib!
Sakib likes competitive programming. Often he takes part in online programming contests. But due to ...
Alligator Sky
There are N balls in a box. You have two robots Alice and Bob. You will set favorite number for each...
Shortest Path, Yet Again?
Mr O is teaching Algorithms 101 to his students. The class just finished learning BFS and now he wan...
Binary Pigeons
There are $N$ pigeons standing one after another in a straight line. There are two kinds of pigeons:...
Farewell Gift for Messi
Lionel Messi, the greatest footballer of all time, is going to retire from international football! O...
Cheers !!
Isabella is from the 19 series of RUET. She loves programming. Also, She considers a number lucky fo...
Jontrona!
Isfan vai is on high demand nowadays. You know why, right? However, his best friend is somewhat disa...
Final Over
This is ICC World Cup Final and the match is between Bangladesh and Australia. The match goes down t...
Revisiting Metro Rail Blocks
The city of Dhaka is experiencing the construction of metro rails. Imagine one such metro rail spans...
Next Permutation
A sequence of $N$ distinct integers is called a permutation if all the integers are between $1$ and ...
Greedy Grid Game
“Uban game world” is an indoor gaming zone. It offers 5 game segments for only one ticket. Today, Al...
President of RUET FC
Zenitsu has been elected as the president of RUET FC and now he wants to sign some of the best world...
The Game Is Finally On
As Mr. Bean was playing a video game in the previous problem, now he is leveled up. At this level, h...
Chance of Passing the Quiz
Rocky is starting his online quizzes and he has been provided with some passing criteria. The rule o...
Toph uses cookies. By continuing you agree to our Cookie Policy.