Problems by curly_braces

A Dog Ate My Homework
Leonhard’s math teacher loves prime numbers. As homework, the teacher gave Leonhard a number n, told...
Moderate 6/14/93
Big LCM
Let, BLCM(a,b) be the smallest positive integer which is divisible by all integers in range [a,b]. G...
Moderate 32/110/387
Clickbait
Clickbait is something (such as a headline) designed to make readers want to click on a hyperlink es...
Distinct Numbers
This is an Interactive Problem. The judge has a secret array A of size n. You can ask the judge at m...
Moderate 15/16/73
Fighting Over a Duster
There are two sections in Toph school and college named section A and section B. Recently the studen...
Moderate 4/7/12
GoG
Alice and Bob are playing GoG. GoG is a two-player board game. It consists of a grid with n rows and...
Hashing
Shreas has created a new revolutionary hashing function that calculates hash values of graphs. For a...
Hirak Rajar Desh
Hirak Raja, the king of the country “Hirak Rajar Desh”, the conqueror ultimate, wanted to expand his...
Hard 6/6/16
Histogram Reordering
You are given an array of integers H, representing the height of the bars of a histogram. The width ...
Infinite Shuffler
HeRock made an infinite array shuffler, which he thinks nobody can hack. The machine takes an infini...
Interactive GCD
This is an interactive problem. Alice and bob are playing a game of Interactive GCD. The game engine...
Moderate 17/27/94
Interplanetary Mission
The National Space Center(NSC) is planning an interplanetary mission in a new galaxy far far away fr...
LFR
In this year's RoboFest, there a segment called LFR(Line Follower Robot) contest. An LFR contest is ...
MEX Dividend
We define MEX Dividend of an array as the smallest positive integer not present in the array which i...
Moderate 66/149/943
Most Likely And
Tashdid has a secret array of size n. For each index of the array, he will randomly choose an intege...
Nilkhet
You’re planning to start a library for the next n days, where you will rent books to students. Each ...
Flow Moderate 4/4/5
Reverse Hash
Binary strings are strings that can only have 0 or 1 as the characters. The hash value of a string i...
Special Keyboard
Herok, the fastest typist in the world, has a special keyboard. The keyboard only has n different ke...
Sum of Medians
You will be given an array of size $n$ where all elements of the array are pairwise distinct. You wi...
Moderate 4/9/15
The Lucky Dice
Ray and Evangeline are playing a game named "The Lucky Dice". In this game, each player tosses up an...
Wireless Signal
The city of Byteland is rectangular in shape and can be represented as a 2D coordinate system with n...
Moderate 7/14/35
Toph uses cookies. By continuing you agree to our Cookie Policy.