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) = $ the smallest positive integer which is divisible by all integers in range $[a, ...

Moderate 27/105/378

Clickbait

Clickbait is something (such as a headline) designed to make readers want to click on a hyperlink es...

Fighting Over a Duster

There are two sections in Toph school and college named section A and section B. Recently the studen...

Moderate 2/5/10

GoG

Alice and Bob are playing GoG. GoG is a two-player board game. It consists of a grid with n rows and...

Moderate 110/112/141

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

Moderate 4/4/9

Histogram Reordering

You are given an array of integers H, representing the height of the bars of a histogram. The width ...

Moderate 9/28/161

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 14/24/91

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

Most Likely And

Tashdid has a secret array of size n. For each index of the array, he will randomly choose an intege...

Moderate 3/10/28

Nilkhet

You’re planning to start a library for the next n days, where you will rent books to students. Each ...

Flow Moderate 2/2/3

Reverse Hash

Binary strings are strings that can only have 0 or 1 as the characters. The hash value of a string i...

DP Moderate 26/36/100

Special Keyboard

Herok, the fastest typist in the world, has a special keyboard. The keyboard only has n different ke...

Moderate 16/73/190

Sum of Medians

You will be given an array of size $n$ where all elements of the array are pairwise distinct. You wi...

Moderate 2/7/13

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 6/13/33
Toph uses cookies. By continuing you agree to our Cookie Policy.