N-th Prime

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

I Did Not Do the Assignment

Professor Petr is very angry over some of his students now-a-days for not doing assignment. He wants...

Geometry Forever

Fear no more, this is a problem of geometry! When Moyna was little, he had a math teacher named Shuk...

BPL Mubarak!

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

Arya’s Counting

Little Arya has learnt to count the highest and the lowest number recently. She can easily find out ...

Pascal's Triangle

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

Incompatible Crops

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

Big Factorials

Given an integer N, print the trailing 4 digits of N! (N factorial). N! = N \times (N-1) \times (N-2...

Be Like Hasib

Hasib, the famous programmer, uses a little game when he teaches Binary Search to his students. He r...

Itsy's Magic Cards

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

The Bachelor's Problem

Jony lives in a “Bachelor’s house” with some of his friends. You may assume it as a hostel but it do...

Choco Moco

Aminul & Imran are good friends. Not only friends but also teammates. Their team NSU MeowMax qua...

Version Checker

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

Reverse Man

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

Alayna and Vowels

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

Caesar Cipher

Byang wants to write a secret message to his friend. He has recently discovered Caesar Cipher. Caesa...

Let's See!

There is a math wizard in the University of Mathcraft. In the inter-university problem-solving conte...

Sofdor Ali's Magical Blackboard!

Sofdor Ali found interest in mathematics very early in his life. And now, he wants to spread this in...

Burger King

Every day, more than 11 million guests visit BURGER KING® restaurants around the world. And they do ...

ASCII Progress Bar

In this problem, you need to write a code that prints an ASCII progress bar. In each test case, you ...