A.
Colorful Socks Abid has a beautiful collection of socks with colors 1 to n. There are ai socks of color i in his d... |

B.
Darhi Palla The weight balance is one of the oldest mechanical devices used by humans. Its origins can be traced... |

C.
World Peace! Bondman has been given a top-secret mission. Eden Academy is celebrating its orientation party. All ... |

D.
Kingslayer In the nation of Britannia, the rules of Chess are simpler than what we know. Here, you do not win b... |

E.
Monks' Game of Cards Moudud, Shantanu, and Sumit are playing a game with a deck of n cards. In this deck, each card is ma... |

F.
Moniter Goja, Gojar Monit Given a natural number k such that k>1, you have to find two natural numbers x and y such that it sa... |

G.
MDP Consider that a famous Turkish architect, Mustafa Duru Poyraz (MDP) has been assigned to design the ... |

H.
It's Time to Duel! Yugi and Kaiba are engaged in a heated duel of cards. Yugi has brought n1 cards and Kaiba has broug... |

I.
Forever Matrix Anabia has challenged Abrar to a game of wits. She has given Abrar a problem - and despite his best ... |

Practice contests allow you to re-run contests and experience them as close as possible to the original run.

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.