Circles in a Rectangle
Two circles are placed inside a rectangle. They do not intersect with each other but they are touchi...
PotatoDB v1.0
You are building a new database software: PotatoDB. PotatoDB is meant to store numbers and handle th...
Very Easy 62/103/334
Who Is the Champion?
The ICPC traces its roots to 1970 when the first competition was hosted by pioneers of the Alpha Cha...
Cash Change
You have an unlimited number of cash notes of the following denominations: 1, 5, 10, 50, 100, 500. G...
Alayna and Vowels
Alayna loves playing. Every night before going to sleep, she plays different games with Baba. Now Al...
Penguins of Madagascar
One day the penguins of Madagascar found a string S... Wait... Wait. Actually the setter of the prob...
Alayna's Adventure Journey
Alayna recently went on her first adventure journey to Dumbulla Safari Park. She enjoyed the bumpy r...
Absolute U
Do you know about absolute value function? In mathematics, the absolute value of a real number u, de...
#Hashtag
Giving Hashtag in Social Network is very popular now a day. But Poltu is very new in Social Network....
Neat Brackets
Given a sequence of opening and closing parentheses ("(" and ")") you will have to determine if it i...
Proper Leap Years
Byang's friend was asked to author a programming problem where the challenge was to identify if the ...
Little Matrix Multiplication
Given two 2×2 matrices, calculate the product of the two matrices. The product of two 2×2 matrices w...
Lexicographical Smallest String
There is a string $s$ of length $n$ containing lowercase letters and an integer $k$. Among the lette...
Subset AND
You are given an array A of n integers and an integer k. You need to find if there is any non-empty ...
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...
Problem in the Printer
Shamim bought a second-hand printer. However, there was a fault in that printer. The printer is prin...
Mixed Fractions
Given an improper fraction (as the numerator $N$ and the denominator $D$), determine and print it in...
Passwords
Alice wants to extract some passwords from a random string. A password can have any number of charac...
Konami Code
The Konami code is a sequence of key/button presses that is implemented in many video games to unloc...
Rivalry Friends
Ryo and his girlfriend love to think about challenges. One day his girlfriend gave him a challenge t...
Math and Watermelons
Your friend has M watermelons. He doesn't want to share them with anyone, but let's imagine he would...
Raem's Square
Raem is an eight years old boy. One day his family was visiting Dhaka Shishu Park near Shahbag. Besi...
Modulo
Let's get straight into the problem. In ths problem, here will be multiple test cases. In each test ...
Chief Thief
A group of thieves steal only money. Every morning they deposit the money to their leader. The leade...
Triangle
You went to an exciting adventure in a deep jungle but sadly a giant captured you. The giant said th...
Toph uses cookies. By continuing you agree to our Cookie Policy.