LCM

Given an integer LLL, you have to find the product of two different integers such that their LCM (Le...

Compressed String

You are given a string SSS consisting of lowercase latin letters 'aaa' & 'bbb' only. Your task i...

In Queue

There are NNN students in a queue with ID 1,2,3,...,N1, 2, 3, ..., N1,2,3,...,N respectively. Each s...

Pie Are Squared

Given the radius of a circle, calculate and print its area. The area of a circle can be computed usi...

Jealous Nobita

Shizuka and Dekisugi are playing with a binary tree rooted at 111. In each turn, the player chooses ...

Formatted Numbers

Read an integer variable and print it in which the digits are separated into groups of three by comm...

Copycat

Read an integer variable and print it.

Is Anagram

An anagram is a word formed by rearranging the letters of another word. The words "listen"...

Add Them Up

Read two integer variables, calculate their sum, and print it.

Is Palindrome

Given a word, print Yes\texttt{Yes}Yes if it is a palindrome, otherwise No\texttt{No}No. A palindrom...

Justified Text

Given a long string of text, you will have to print it following these rules: Replace all consecuti...

Clock Math

Given a time (hours as HHH and minutes as MMM), determine the smaller angle between the two hands of...

Switches

Technology is going ahead very fast. How can we know what will we get in future? One day you met a g...

Chikongunia

Chikongunia is an epidemic in Dhaka right now. Many people are affected by this. But the problem is,...

Divisors

Read an integer variable and print all of its divisors (including 1 and the number itself).

Better Passwords

Byang is creating an account on Toph. He needs your help to create a strong password. Byang will giv...

N-th Prime

In this problem, you will have to print the nnn-th prime number. The first few prime numbers are giv...

Byang's Day Out!

Byang and his little brother Kuno loves Cricket. But they never went to the stadium to watch a match...

Chowdhury Saheb & the Numbers

You like short description of problems? Me too! Let's go to an easy problem. You are given an array ...

Help Your Friend L!

Not only L is an incredibly mysterious detective, but also he is the world's greatest. He worked wit...

Maximum

Given NNN numbers, find the one that is of the highest value and print it.

An Obvious Interactive Problem

I pick a number. You guess it. You can guess at most 25 times. For every guess you make, I will tell...

COVID-19 Outbreak

COVID-19 outbreak in Atlantis is so bad that the government is forced to lock down the whole country...

Life of Decimals

Given any circle, if you divide the circumference of that circle with its diameter, you would always...

Is Prime

Given an integer NNN, determine if it is a prime a number. A number is called prime if it is only di...

Toph uses cookies. By continuing you agree to our Cookie Policy.