No GCD You are given N integers. Each integer is square free (i.e. it has no divisor which is a square numb... |

Gaaner Koli The protagonists of this problem are two great programmers of a certain institution Omanush and Ordi... |

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

Alice in Candyland Alice came up with a new game. In this game called "Candy Quest", there is a NxN size 2D grid. In ea... |

Paying Bills Mued is finally home for summer vacation after surviving yet another semester of the mighty CS Under... |

Bikpik Colony Bikpiks are very small aliens. Day by day they are becoming very dangerous for human being. They liv... |

Subset Multiplication In mathematics, especially in set theory, set A is a subset of set B, or equivalently B is a superse... |

Super Shop A super shop sells only 26 items, labeled them from ‘A’ to ‘Z’. The shop stores the list of products... |

MaxXOR You are given an array A of n integers (A1, A2, ..., An) and some queries. In each query, you wil... |

Chocolate There is a shop named Chocolove in the Codeland. There are many chocolates in the shop. Each chocola... |

Easy This problem is very easy. As my mood is not so good, I will not elaborate the statement unnecessari... |

Photo Matching You’ll be given two matrix M1 and M2 and another integer K. The size of both M1 and M2 are N*N and e... |

Ant Query Scientists from the planet Krypton have figured out a way to grow artificial sugar in space. They ha... |

Escape the Planet Earth As you know earth is affected by corona virus. Situation becomes worse day by day .Almost 80% people... |

Shopping is Fun!! Mr. Hikiko passed his Eid without shopping because of ongoing lockdown. Now, Govt. removed the lockd... |

Osim's Maze Welcome to Osim's maze! Unfortunately, you are in the maze right now and you want to come outside th... |

Race in DomKi There is a kingdom called DomKi. DomKi has N city and N-1 two-way road. Each city is numbered with 1... |

Rise up You are given N piles of stones. The piles are numbered 1 to N from left to right. Each pile contain... |

Divisible LCM You have a sequence a1, a2, a3, …, an of n integers and q queries. In each query, you are given ... |

Prefix & Suffix Maximization You are given an array a of n integers. Now, let’s define two variables P and S. Where P is the bitw... |

A Giveaway Mr. Tom is the head of ICPC world final organizing committee. For the world final, he comes to Dhaka... |

Efficient Construction on Mars Elon Musk has constructed N cities numbered from 0 to N−1 on Mars. He initially planned to construct... |

Farewell Gift for Messi Lionel Messi, the greatest footballer of all time, is going to retire from international football! O... |

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.