Justified Text

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

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

Life of Decimals

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

Goat Research

Goats are interesting creatures. They are incredibly durable and can fall from great heights, be str...

Ice-cream of Montu Mia

Montu Mia is a student of “Omok School”. He likes to eat an icecream everyday. But he also likes to ...

Genius Needs Help

You all know Emrul bhai, right? He is a genius guy. He knows how to add two integer numbers and so d...

BPL Mubarak!

Bangladesh Premier League is in Sylhet for the first time. Today's match is Sylhet Sixers vs the Dha...

Make It Big!

You are given a number N (10 ≤ N ≤ 2×109). You have to perform exactly two swap operation. You can c...

#Hashtag

Giving Hashtag in Social Network is very popular now a day. But Poltu is very new in Social Network....

Itsy's Magic Cards

Itsy needs your help with her magic cards. Her magic cards grant her special spider-witch powers. Un...

Big Factorials

Given an integer N, print the trailing 4 digits of N!N!N! (N factorial). N!=N×(N−1)×(N−2)×...×1N! = ...

Little Subarray Sum

Given an array of N numbers and two indices, determine the sum of the numbers in the array between (...

Neat Brackets

Given a sequence of opening and closing parentheses ("(" and ")") you will have ...

Counting the Counts

Salam is a school teacher. He takes ICT of class 8th. The head of the school wants to know how many ...

Burrows and Scofield

Michael Scofield and Lincoln Burrows are working on a secret mission. Michael is needed to give a se...

Version Checker

Java Development Kit (JDK) installer for Mac OS X has a bug: Can you spot it? Notice how Java is ch...

Mysterious Sum

Sohel vai reads newspaper every morning. The newspaper he reads contains some good features includin...

GPA Calculator

Shibli is a very good student. He is very regular and attentive in his classes. He is very serious a...

Alayna and Vowels

Alayna loves playing. Every night before going to sleep, she plays different games with Baba. Now Al...

CGPA, the Golden Egg!

Jenith is a student of CSE of Metropolitan University (MU). Recently her fifth term’s result has bee...

Reverse Man

Monu mia is a reverse man! Never heard of reverse man? It means if you ask him to write something in...

Incompatible Crops

Did you know that certain crops cannot grow next to each other? Given the layout of a field as a gri...

Pascal's Triangle

Given an integer N, print the sum of the Nth row of the Pascal's triangle. In mathematics, Pascal's ...

Tidy Bits

Read an integer variable, and determine the smallest positive integer that has the same number of 1\...