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

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

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

Itsy's Magic Cards

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

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

ASCII Progress Bar

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

Noman's Birthday

Today is our friend Noman’s birthday. For celebration of his birthday, we have already used n baloon...

Weather Report

Santu is a newcomer in Rangpur. He could not adjust to the strange weather in Rangpur. He goes out f...

Correct the Sieve

Sieve of Eratosthenes is a fast algorithm for finding prime numbers in larger ranges. According to W...