Copycat
Read an integer variable and print it.
Divisors
Read an integer variable and print all of its divisors (including 1 and the number itself).
Add Them Up
Read two integer variables, calculate their sum, and print it.
Fibonacci Numbers
Given an integer N, print the N-th Fibonacci number. A Fibonacci series is a series of numbers in wh...
Clock Math
Given a time (hours as H and minutes as M), determine the smaller angle between the two hands of a c...
Leap Years
In the Gregorian calendar, certain years have 366 days instead of 365. In such years, the month of F...
Formatted Numbers
Read an integer variable and print it in which the digits are separated into groups of three by comm...
Proper Leap Years
Byang's friend was asked to author a programming problem where the challenge was to identify if the ...
Big Factorials
Given an integer N, print the trailing 4 digits of N! (N factorial). N!=N×(N−1)×(N−2)×...×1 Here are...
Fair Distribution
Mr. Forhad has X children. One day, on his way home, he bought Y chocolates for his children. He doe...
Squared
Given the length of a side of a square, calculate and print its area.
Full Pyramid
Given an integer N, print a full pyramid of asterisks. A full pyramid of asterisks of size N has N l...
Maximum
Given N numbers, find the one that is of the highest value and print it.
Making Friends
Byang is going to join a new school. His new class has N students. Each of the students are identifi...
Ha Ha Ha
Joker has finally created a master plan to defeat Batman. He has given Batman a geometric problem. A...
ICPC Is Coming in Hot!
Tanmoy is an ACM ICPC contestant. During practice he came across a problem named ‘OWLLEN’. He has ha...
Pie Are Squared
Given the radius of a circle, calculate and print its area. The area of a circle can be computed usi...
Better Passwords
Byang is creating an account on Toph. He needs your help to create a strong password. Byang will giv...
Missing Number
Given the sum of four numbers and three of those numbers, find the missing number. All four numbers ...
Math and Watermelons
Your friend has M watermelons. He doesn't want to share them with anyone, but let's imagine he would...
Is Palindrome
Given a word, print Yes if it is a palindrome, otherwise No. A palindrome is a word which reads the ...
Calculus Helper
Everybody knows that engineering students have to do lots of math. As a student of a renowned engine...
Decent Arrays
Given N numbers determine if they are in ascending order.
Alayna and Vowels
Alayna loves playing. Every night before going to sleep, she plays different games with Baba. Now Al...
Pascal's Triangle
Given an integer N, print the sum of the Nth row of the Pascal's triangle. In mathematics, Pascal's ...
Toph uses cookies. By continuing you agree to our Cookie Policy.