# Math Problems

 DivisorsRead an integer variable and print all of its divisors (including 1 and the number itself). Clock MathGiven a time (hours as H and minutes as M), determine the smaller angle between the two hands of a c... Fibonacci NumbersGiven an integer N, print the N-th Fibonacci number. A Fibonacci series is a series of numbers in wh... SquaredGiven the length of a side of a square, calculate and print its area. Proper Leap YearsByang's friend was asked to author a programming problem where the challenge was to identify if the ... Big FactorialsGiven an integer N, print the trailing 4 digits of N! (N factorial). N!=N×(N−1)×(N−2)×...×1 Here are... Fair DistributionMr. Forhad has X children. One day, on his way home, he bought Y chocolates for his children. He doe... Making FriendsByang is going to join a new school. His new class has N students. Each of the students are identifi... Leap YearsIn the Gregorian calendar, certain years have 366 days instead of 365. In such years, the month of F... Prime FactorsGiven an integer N, can you determine its prime factors? Moderate 137/158/282 Pie Are SquaredGiven the radius of a circle, calculate and print its area. The area of a circle can be computed usi... Math and WatermelonsYour friend has M watermelons. He doesn't want to share them with anyone, but let's imagine he would... Missing NumberGiven the sum of four numbers and three of those numbers, find the missing number. All four numbers ... Pascal's TriangleGiven an integer N, print the sum of the Nth row of the Pascal's triangle. In mathematics, Pascal's ... Thought GameSadia is one of the nicest persons you will ever meet. In fact, she is one of those persons who like... Running AverageGiven \$N\$ numbers, read each one, calculate the running average and print it. For example, given the... Arshiya's First CodeArshiya is just three and she already started programming. She has learned how to write loops. Recen... Byang's AdditionsByang is learning how to add numbers. However, he gets confused whenever there is a carry. To help B... K-Th RootYou will be given Q queries. In each query, you will be given two positive integers A and B. You hav... Very Easy 160/254/968 Black or WhiteImagine an infinite chess board. The cell on the bottom-left most corner is labelled (0,0). The cell... Tricky RatioGiven the radius (r) of a circle you have to calculate the ratio between the circumference (C) of th... Running Average AgainGiven N numbers, read each one, calculate the running average and print it. For example, given the t... Elementary ArithmeticWhen Shakib was little, his mother used to help him with his studies. Usually, around 7 PM in the ev... Geometry ForeverFear no more, this is a problem of geometry! When Moyna was little, he had a math teacher named Shuk... Niko Goes FarmingNiko has completed his degree in CSE from North South University. Now he has been tenaciously lookin... Very Easy 486/491/603
Toph uses cookies. By continuing you agree to our Cookie Policy.