A.
Be Famous With Mr. Hukka Mr. Hukka is an ambitious guy. He always tries to make his name in the famous list. But somehow this...
Moderate
28/140/375 |

B.
Big Problems have Short Solutions Every bigger problem has a simple solution! Do you believe that? Letâ€™s prove it! Here is a code, you...
Very Easy
149/264/781 |

C.
Sort Them Out You will be given N integers, each of the numbers will be in the range from 1 to 1000. Then you will...
Moderate
122/159/256 |

D.
Life of Phi III In this problem, you will be many queries containing two integers u and v (1<=u<=v<=106). You have t...
Easy
33/96/348 |

E.
Maximize the Cut You will be given an array of N integers. You are allowed to take numbers from any of the ends of th...
Very Easy
50/115/358 |

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.