## CopycatRead an integer variable and print it. |

## Add Them UpRead two integer variables, calculate their sum, and print it. |

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

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

## 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). |

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

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

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

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

## Incompatible CropsDid you know that certain crops cannot grow next to each other? Given the layout of a field as a gri... |

## Big FactorialsGiven an integer N, print the trailing 4 digits of N!N!N! (N factorial). N!=N×(N−1)×(N−2)×...×1N! = ... |

## Full PyramidGiven an integer NNN, print a full pyramid of asterisks. A full pyramid of asterisks of size NNN has... |

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

## Decent ArraysGiven N numbers determine if they are in ascending order. |

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

## Caesar CipherByang wants to write a secret message to his friend. He has recently discovered Caesar Cipher. Caesa... |

## Little Subarray SumGiven an array of N numbers and two indices, determine the sum of the numbers in the array between (... |

## ASCII Progress BarIn this problem, you need to write a code that prints an ASCII progress bar. In each test case, you ... |

## Little Matrix MultiplicationGiven two 2×22\times22×2 matrices, calculate the product of the two matrices. The product of two 2×2... |

## BPL Mubarak!Bangladesh Premier League is in Sylhet for the first time. Today's match is Sylhet Sixers vs the Dha... |

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

## ICPC Is Coming in Hot!Tanmoy is an ACM ICPC contestant. During practice he came across a problem named ‘OWLLEN’. He has ha... |

## Itsy's Magic CardsItsy needs your help with her magic cards. Her magic cards grant her special spider-witch powers. Un... |

## Goat ResearchGoats are interesting creatures. They are incredibly durable and can fall from great heights, be str... |

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.