## Fast Co-PrimeTwo numbers A and B are called co-prime if the only common positive factor of the two numbers is 1. ... |

## Beauty of APSolving problems is fun in competitive programming, right? So let’s solve a fun task today too :P. 1... |

## Christmas GiftsIt's Christmas time! It's the time when Santa brings gift for the children. This year Santa has KKK ... |

## Tom Is a Good MentorToday is the first day of the little mouse Jerry at school. Famous mathematician Tom is his teacher.... |

## LCM Divisible SubsequenceYou’ll be given an array of NNN integers and two more integers KKK and MMM. You have to find the num... |

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.