## LCMGiven an integer LLL, you have to find the product of two different integers such that their LCM (Le... |

## Compressed StringYou are given a string SSS consisting of lowercase latin letters 'aaa' & 'bbb' only. Your task i... |

## In QueueThere are NNN students in a queue with ID 1,2,3,...,N1, 2, 3, ..., N1,2,3,...,N respectively. Each s... |

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

## Jealous NobitaShizuka and Dekisugi are playing with a binary tree rooted at 111. In each turn, the player chooses ... |

## Formatted NumbersRead an integer variable and print it in which the digits are separated into groups of three by comm... |

## CopycatRead an integer variable and print it. Easy
7k/8k/15k |

## Is AnagramAn anagram is a word formed by rearranging the letters of another word. The words "listen"... |

## Add Them UpRead two integer variables, calculate their sum, and print it. Moderate
6k/7k/13k |

## Is PalindromeGiven a word, print Yes\texttt{Yes}Yes if it is a palindrome, otherwise No\texttt{No}No. A palindrom... |

## Justified TextGiven a long string of text, you will have to print it following these rules: Replace all consecuti... |

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

## SwitchesTechnology is going ahead very fast. How can we know what will we get in future? One day you met a g... |

## ChikonguniaChikongunia is an epidemic in Dhaka right now. Many people are affected by this. But the problem is,... |

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

## Better PasswordsByang is creating an account on Toph. He needs your help to create a strong password. Byang will giv... |

## N-th PrimeIn this problem, you will have to print the nnn-th prime number. The first few prime numbers are giv... |

## Byang's Day Out!Byang and his little brother Kuno loves Cricket. But they never went to the stadium to watch a match... |

## Chowdhury Saheb & the NumbersYou like short description of problems? Me too! Let's go to an easy problem. You are given an array ... |

## Help Your Friend L!Not only L is an incredibly mysterious detective, but also he is the world's greatest. He worked wit... |

## MaximumGiven NNN numbers, find the one that is of the highest value and print it. Easy
3k/3k/7k |

## An Obvious Interactive ProblemI pick a number. You guess it. You can guess at most 25 times. For every guess you make, I will tell... |

## COVID-19 OutbreakCOVID-19 outbreak in Atlantis is so bad that the government is forced to lock down the whole country... |

## Life of DecimalsGiven any circle, if you divide the circumference of that circle with its diameter, you would always... |

## Is PrimeGiven an integer NNN, determine if it is a prime a number. A number is called prime if it is only di... Moderate
2k/2k/5k |

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.