Trivial Summation
The problem statement is so small. Give you four integers r, a, b, d. Find the summation of all numb...
Correct the Sieve
Sieve of Eratosthenes is a fast algorithm for finding prime numbers in larger ranges. According to W...
Recursive Function
A common example of recursion goes something like this: long long recur(int x){ if (x==0){ return X0...
Geometry Forever
Fear no more, this is a problem of geometry! When Moyna was little, he had a math teacher named Shuk...
Left Prime
Prime numbers are the ones which can only be divided by 1 and the number itself. 2, 3, 5, 7, 11, 13 ...
Recursive World!
See following the two recursive functions: C(0) = 0 C(1) = 5 C(K) = C(K-1) + 4 F(0) = 1 F(1) = 2 F(N...
Meeting Place
There is an N*N grid where (r,c) denotes a cell number where r means row number, c means column numb...
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...
Easy Summation
Little Arya is growing up fast and now she can count the numbers. The problem with her counting is t...
Irregular Is Tough, Regular Is Easy!
Dr. Bari is working on some chemical formation. He believes that chemicals and shapes that are regul...
Zacob the Batsman
It's known that Zacob is a reliable batsman of LU CSE Cricket Team. Also as long as he is on the cre...
Arithmetic Sequence (Easy)
Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...
Circle of Death
Abir is a school going boy, who loves math. Also, he loves to play with stones. Recently he invented...
Laali Vs Bessie
One day Raju discovered USACO and from that day he would spend all his time solving problems. Laali ...
Count the Odds
Sometimes, contestants tend to look for patterns in problem descriptions. They try to figure out the...
Counting Matrices
Given a natural number N and a prime p, let’s define a special set Zp​={0,1,2,…,p−1}. Now count the ...
Meena O Dosto Sele
Dosto sele Dipu and his friends used to disturb Rita Apu everyday on her way to school singing , " র...
Boltu vs Balti
Boltu and Balti are two friends. Boltu is a great programmer whereas Balti is a newbie programmer. B...
GCD, Divisor, Count!
I like short statements and you should too so here's the statement without further ado You are give...
Trick or Trees
One day, Raju was out roaming in the woods,when he suddenly stumbled upon a large garden. There were...
A Girl's Story
Meena (Bengali: মীনা) is a fictional character who stars in the South Asian children's television sh...
Predict The Frequency
Luis was sleeping. He suddenly woke up with three positive integers N, M and X. He told his younger ...
Switches
Technology is going ahead very fast. How can we know what will we get in future? One day you met a g...
Meena Meets The Marauders
December 14, 1975 Hogwarts School of Witchcraft and Wizardry It’s been a long long day. The Marauder...
Prisoners
Let me tell you a story of a dangerous prison. There were N prisoners in that prison. It is guarante...
Toph uses cookies. By continuing you agree to our Cookie Policy.