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

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

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

Fibonacci Numbers Given an integer N, print the N-th Fibonacci number. A Fibonacci series is a series of numbers in wh... |

GCD Plus LCM In this problem you will be given two integers a, b. You have to answer if GCD(a,b)+LCM(a,b)=a+b is ... |

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

Squared Given the length of a side of a square, calculate and print its area. |

Making Friends Byang is going to join a new school. His new class has N students. Each of the students are identifi... |

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

Pie Are Squared Given the radius of a circle, calculate and print its area. The area of a circle can be computed usi... |

Roll the Dice You have got a 6 sided dice. In a single roll, it may show any integers from 1 to 6. You are going t... |

Largest Prime A positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe... |

Big Factorials Given an integer N, print the trailing 4 digits of N! (N factorial). N!=N×(N−1)×(N−2)×...×1 Here are... |

Tricky Ratio Given the radius (r) of a circle you have to calculate the ratio between the circumference (C) of th... |

Math and Watermelons Your friend has M watermelons. He doesn't want to share them with anyone, but let's imagine he would... |

Black or White Imagine an infinite chess board. The cell on the bottom-left most corner is labelled (0,0). The cell... |

Fibonacci Between Given two numbers L and R, you must print all the Fibonacci numbers between L and R (inclusive). Alt... |

The Titan The Titan, a giant ship started its journey on the dark sea. It was going to the North America. On t... |

Missing Number Given the sum of four numbers and three of those numbers, find the missing number. All four numbers ... |

Arko and Special Permutations Arko is very fond of permutations. He can easily calculate the number of n length permutations. (In ... |

Proper Leap Years Byang's friend was asked to author a programming problem where the challenge was to identify if the ... |

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

Arithmetic Sequence (Easy) Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar... |

Mixed Fractions Given an improper fraction (as the numerator $N$ and the denominator $D$), determine and print it in... |

Running Average Again Given N numbers, read each one, calculate the running average and print it. For example, given the t... |

2Sat, Adhoc, ApolloneasTheorem, Backtracking, BFS, Bignum, BinarySearch, BipartiteMatching, Bitmask, BruteForce, ChineseRemainderTheorem, Combinatorics, ConvexHull, CutVertex, DataStructure, DFS, DigitDP, DisjointSets, DivideAndConquer, DP, Eertree, EulerTour, ExpectedValue, FenwickTree, FFT, Flow, Game, GCD, Geometry, Graph, Greedy, Hashing, HeavyLightDecomposition, Implementation, InclusionExclusion, Interactive, KnuthMorrisPratt, LowestCommonAncestor, Math, Matrix, MatrixExponentiation, MergeSortTree, ModularExponentiation, MOSAlgorithm, MST, NTT, NumberTheory, Parsing, PersistentLiChaoTree, PersistentSegmentTree, PollardRho, PriorityQueue, Probability, Queue, RabinMiller, RangeOrderStatistics, Scheduling, SegmentTree, ShortestPath, Simulation, Sorting, SparseTable, SpragueGrundyTheorem, SqrtDecomposition, Stack, String, StronglyConnectedComponents, SuffixStructure, TernarySearch, Tree, Trie, TwoPointer, WaveletTree

Toph uses cookies. By continuing you agree to our Cookie Policy.