LCM

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

Compressed String

You are given a string S consisting of lowercase latin letters 'a' & 'b' only. Y...

In Queue

There are N students in a queue with ID 1, 2, 3, ..., N respectively. Each student has some coins C_...

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 1. In each turn, the player chooses a ...

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

Add Them Up

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

Is Palindrome

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

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 H and minutes as M), determine the smaller angle between the two hands of a c...

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 n-th prime number. The first few prime numbers are given...

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

Help Your Friend L!

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