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
29/107/382 |

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
11/12/59 |

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
117/119/149 |

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/13 |

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
15/25/92 |

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
62/144/928 |

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

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...
Easy
17/76/195 |

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.