NAC-SAC Game! (Easy)
Akash and Guru are playing an interesting game. They are standing at the two ends of the NAC-SAC bri...
The Lucky Dice
Ray and Evangeline are playing a game named "The Lucky Dice". In this game, each player tosses up an...
Area
In this problem, you will be given a square which has a length of n. Co-ordinates of the square are ...
Life of Phi II
You will be given two integers n and m where GCD(n,m)=1. You have to tell that how many numbers are ...
Compute the Combination
Let P = C(N,0) - C(N,1) + C(N,2) - C(N,3) + ... + C(N,N); where C(n,r) is "n choose r". You are give...
Yet Another Query Problem!
You are given an array $A$ of length $n$ consisting of integers between $1$ and $10^6$. You need to ...
Easy Peasy Subset Sum
Little Oishee loves to watch TV. But her mother, who is a math teacher, doesn't like this at all. Sh...
Dilu's Library
Dilu is a young boy who loves mathematics. He recently learned how to code. He was interested in sol...
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...
The Game Is Back On
Moriarty is bored again. When he gets bored, the only thing he wants to do is play with Sherlock. So...
Irregular Is Tough, Regular Is Easy!
Dr. Bari is working on some chemical formation. He believes that chemicals and shapes that are regul...
Little T2 and Dead Cats
The planet earth has become peaceful again because all the cats are dead. An evil robot named Xorged...
This Is Too Hard ☹
Many many years ago there was a small country. And all the people there were very weird. They liked ...
Bad Neighbors 2
As some of you already know, Nocu City has a history of having bad neighbors. These bad ones, take a...
Hange and Her Gear
Hange has developed a special gear to attack the Cart Titan. The gear is a round, disc-like object. ...
Mag the Mighty Kaidul
The winter is about to come. Mag the Mighty Kaidul is waiting for it for days. It is his favorite se...
Game of Palindromes
In a popular computer game, Game of Palindromes also known as GOP there is a city called Palindesh. ...
Cook a Dish
Have you ever cooked something? No? Not a problem! Whenever you try to cook something, you need some...
String Factory
Welcome to the string factory where strings are generated in a peculiar manner. You are given a stri...
String Play
Milo has a string S of length L. Tutu picks a random prefix and Mota picks a random suffix of S. Now...
Counting Triplets
Given an array of N integers A1​, A2​, A3​, …, AN​. Vector has to find the number of Fibonacci Tripl...
Interplanetary Mission
The National Space Center(NSC) is planning an interplanetary mission in a new galaxy far far away fr...
Demonic Subset
Lets not waste your time with long tiring problem statement and just go straight to the point. You a...
Mr Max Count Sum
Mr Max , Mr Sum and Mr Count are three neighbours. They have a common enemy, an old man living in th...
I Hate Combinatorics!
Rick and Morty are being hunted by the galactic government. They ran away to the cell dimension. The...
Toph uses cookies. By continuing you agree to our Cookie Policy.