Copycat
Read an integer variable and print it.
Add Them Up
Read two integer variables, calculate their sum, and print it.
Name Game
React anything on this post. I will give you three names. And you have to comment about them withou...
Fibonacci Numbers
Given an integer N, print the N-th Fibonacci number. A Fibonacci series is a series of numbers in wh...
Divisors
Read an integer variable and print all of its divisors (including 1 and the number itself).
Formatted Numbers
Read an integer variable and print it in which the digits are separated into groups of three by comm...
Big Factorials
Given an integer N, print the trailing 4 digits of N! (N factorial). N!=N×(N−1)×(N−2)×...×1 Here are...
Clock Math
Given a time (hours as H and minutes as M), determine the smaller angle between the two hands of a c...
Byang's Additions
Byang is learning how to add numbers. However, he gets confused whenever there is a carry. To help B...
Decent Arrays
Given N numbers determine if they are in ascending order.
Prime - Prime - Prime
Given an integer n, print n unique integers in the range [1,109] such that, The bitwise AND value ...
Is Palindrome
Given a word, print Yes if it is a palindrome, otherwise No. A palindrome is a word which reads the ...
45th ICPC Unsolved Problem!
ICPC is the oldest, largest, and most prestigious programming contest in the world. Each year, the I...
Squared
Given the length of a side of a square, calculate and print its area.
Proper Leap Years
Byang's friend was asked to author a programming problem where the challenge was to identify if the ...
Who Is the Champion?
The ICPC traces its roots to 1970 when the first competition was hosted by pioneers of the Alpha Cha...
Pie Are Squared
Given the radius of a circle, calculate and print its area. The area of a circle can be computed usi...
Full Pyramid
Given an integer N, print a full pyramid of asterisks. A full pyramid of asterisks of size N has N l...
Better Passwords
Byang is creating an account on Toph. He needs your help to create a strong password. Byang will giv...
Maximum
Given N numbers, find the one that is of the highest value and print it.
You Are Programmer, You Have No Valentine!
One morning, Rose woke up early, and her husband, Alice, asked what was the matter. She told him, "I...
Fair Distribution
Mr. Forhad has X children. One day, on his way home, he bought Y chocolates for his children. He doe...
Leap Years
In the Gregorian calendar, certain years have 366 days instead of 365. In such years, the month of F...
Missing Number
Given the sum of four numbers and three of those numbers, find the missing number. All four numbers ...
ICPC Is Coming in Hot!
Tanmoy is an ACM ICPC contestant. During practice he came across a problem named ‘OWLLEN’. He has ha...
Toph uses cookies. By continuing you agree to our Cookie Policy.