No GCD

You are given N integers. Each integer is square free (i.e. it has no divisor which is a square numb...

Gaaner Koli

The protagonists of this problem are two great programmers of a certain institution Omanush and Ordi...

Harry Potter and the Vault of Gringotts

“There was a break-in of Gringotts Wizarding Bank on 1 May, 1998, during the height of the Second Wi...

Alice in Candyland

Alice came up with a new game. In this game called “Candy Quest”, there is a NxN size 2D grid. In ea...

Subset Multiplication

In mathematics, especially in set theory, set A is a subset of set B, or equivalently B is a superse...

Super Shop

A super shop sells only 26 items, labeled them from ‘A’ to ‘Z’. The shop stores the list of products...

Chocolate

There is a shop named Chocolove in the Codeland. There are many chocolates in the shop. Each chocola...