Geometry Forever Fear no more, this is a problem of geometry! When Moyna was little, he had a math teacher named Shuk... |

The Matrix In the metaphysical world of the Matrix, different people make their chessboards with their own spec... |

Yet Another Query Problem! You are given an array $A$ of length $n$ consisting of integers between $1$ and $10^6$. You need to ... |

Counting Murgis Ever since that wicked thief took away some of her murgis (hens, that is), Meena was ever anxious th... |

K-th DuoPalindrome Alice likes playing with Palindromes (strings that read the same backward as forward, such as 'madam... |

Bad Neighbors 2 As some of you already know, Nocu City has a history of having bad neighbors. These bad ones, take a... |

Mr. Ant and His Problem Mr. Ant has 3 boxes and the infinite number of marbles. Now he wants to know the number of ways he c... |

Mina and Raju Everyone know about Mina & Raju. They are siblings as well as good friend. The friend-circle of Mina... |

Secret Meeting The world is terrified by Pandas! After a miraculous chemical explosion, they became smarter; and ev... |

Bad Cook Mr. Meme has recently moved to a foreign country named "Gloryland" for study purpose. There, he has ... |

Kitchen Combinatorics The world-renowned Swedish Chef is planning a gourmet three-course dinner for some muppets: a starte... |

Bad Neighbors In the strange neighborhood of Nocu, a lot of people lives pretty happily, or so they think. Like mo... |

Trivial Summation The problem statement is so small. Give you four integers r, a, b, d. Find the summation of all numb... |

How Many Paths? You are at the top left corner [position (1,1)] of a R×C grid. Your destination is bottom right corn... |

Easy Peasy Subset Sum Little Oishee loves to watch TV. But her mother, who is a math teacher, doesn't like this at all. Sh... |

Compute the Combination Let P = C(N,0) - C(N,1) + C(N,2) - C(N,3) + ... + C(N,N); where C(n,r) is "n choose r". You are give... |

Level Up You are playing a game that has 16 levels. You start with level 1 and after gaining a certain amount... |

Subset of Sequences You will be given a set of sequences. Each sequence is a list of numbers. Two sequences are K-simila... |

String in a Grid 2 Prof. Bari loves to play with string. He is also very skilled in drawing. One day he was drawing a g... |

Third Dimension Mr. J wants to learn about combinatorics. He started reading a book on combinatorics and came across... |

Meeting Place There is an N*N grid where (r,c) denotes a cell number where r means row number, c means column numb... |

Harry Potter and the Vault of Gringotts "There was a break-in of Gringotts Wizarding Bank on 1 May, 1998, during the height of the Second Wi... |

Counting is Difficult 2 East West University Computer Programming Club (EWUCoPC) is arranging an Intra-University Programmin... |

String Play Milo has a string S of length L. Tutu picks a random prefix and Mota picks a random suffix of S. Now... |

Obligatory IDPC Problem There are n people busy with arranging the upcoming Inter Department Programming Contest (IDPC) 2016... |

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.