CopycatRead an integer variable and print it.

Add Them UpRead two integer variables, calculate their sum, and print it.

SquaredGiven the length of a side of a square, calculate and print its area.

Pie Are SquaredGiven the radius of a circle, calculate and print its area. The area of a circle can be computed us...

Missing NumberGiven the sum of four numbers and three of those numbers, find the missing number. All four numbers...

MaximumGiven N numbers, find the one that is of the highest value and print it.

Mixed FractionsGiven an improper fraction (as the numerator N and the denominator D), determine and print it in mix...

Running AverageGiven N numbers, read each one, calculate the running average and print it. For example, given the ...

Running Average AgainGiven N numbers, read each one, calculate the running average and print it. For example, given the ...

Math and WatermelonsYour friend has M watermelons. He doesn’t want to share them with anyone, but let’s imagine he would...

Formatted NumbersRead an integer variable and print it in which the digits are separated into groups of three by comm...

Is PalindromeGiven a word, print “Yes” if it is a palindrome, otherwise “No”. A palindrome is a word which reads...

Clock MathGiven a time (hours as H and minutes as M), determine the smaller angle between the two hands of a c...

DivisorsRead an integer variable and print all of its divisors (including 1 and the number itself).

Making FriendsByang is going to join a new school. His new class has N students. Each of the students are identif...

Is AnagramAn anagram is a word formed by rearranging the letters of another word. The words “listen” and “sil...

Is PrimeGiven an integer N, determine if it is a prime a number. A number is called prime if it is only div...

Fibonacci NumbersGiven an integer N, print the Nth Fibonacci number. A Fibonacci series is a series of numbers in wh...

Leap YearsIn the Gregorian calendar, certain years have 366 days instead of 365. In such years, the month of F...

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

Big FactorialsGiven an integer N, print the trailing 4 digits of $ N! $ (N factorial). $ N! = N \times (N1) \tim...

Full PyramidGiven an integer N, print a full pyramid of asterisks. A full pyramid of asterisks of size N has N ...

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

Byang's AdditionsByang is learning how to add numbers. However, he gets confused whenever there is a carry. To help ...

Tidy BitsRead an integer variable, and determine the smallest positive integer that has the same number of 1s...

Decent ArraysGiven N numbers determine if they are in ascending order.

Better PasswordsByang is creating an account on Toph. He needs your help to create a strong password. Byang will gi...

Set UnionGiven two sets of integers, print the set containing the union of the two input sets. For example, ...

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

Fair DistributionMr. Forhad has X children. One day, on his way home, he bought Y chocolates for his children. He doe...

ICPC Is Coming in Hot!Tanmoy is an ACM ICPC contestant. During practice he came across a problem named ‘OWLLEN’. He has h...

Thought GameSadia is one of the nicest persons you will ever meet. In fact, she is one of those persons who like...
