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

## Clock MathGiven a time (hours as HHH and minutes as MMM), determine the smaller angle between the two hands of... |

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

## Fibonacci NumbersGiven an integer NNN, print the NNN-th Fibonacci number. A Fibonacci series is a series of numbers i... |

## Life of Phi IIYou will be given two integers nnn and mmm where GCD(n,m)=1GCD(n, m) = 1GCD(n,m)=1. You have to tell... |

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

## AreaIn this problem, you will be given a square which has a length of n. Co-ordinates of the square are ... |

## Making FriendsByang is going to join a new school. His new class has NNN students. Each of the students are identi... |

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

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

## Math and WatermelonsYour friend has MMM watermelons. He doesn't want to share them with anyone, but let's imagine he wou... |

## Mixed FractionsGiven an improper fraction (as the numerator NNN and the denominator DDD), determine and print it in... |

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

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

## Fair DistributionMr. Forhad has XXX children. One day, on his way home, he bought YYY chocolates for his children. He... |

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

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

## A Girl's StoryMeena (Bengali: মীনা) is a fictional character who stars in the South Asian children's television sh... |

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

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

## An Arithmetic ProblemA sequence is an arithmetic sequence if every two successive number has same difference. Suppose thi... |

## Sofdor Ali and HistogramThe Great Sofdor Ali is now interested in competitive programming. Seeing this, his friend and also ... |

## Recursive FunctionA common example of recursion goes something like this: long long recur(int x){ if (x==0){ return X0... |

## Power and ModExponentiation is a mathematical operation, written as b n , involving two numbers, the base b and t... |

## Playing With Your MindGiven a non-negative integers N. You have to find an integer P such that, the following conditions s... |

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.