Colded LCM Chris Martin is challenged with another problem. This time our favorite violinist Lindsey Stirling a... |

Tomar Mobile E Games Ache? After a long and hectic Eid day you are finally relaxing. But then your 5 year old cousin comes and ... |

Red Blue Graph You are given a connected, undirected, unweighted graph. You need to assign one of the two colors Re... |

Choco Fun You brought C chocolates to a party where there are A adults and K kids. You know that an adult will... |

Make More Money You, the great businessman of TEUB, arrived at ESC land which consists of N cities numbered from 1 t... |

Yet Another Frog Jumping Problem This is an interactive problem. (If you want to know about interactive problems, click here) There a... |

Peculiar Partitioning You are given an array a of length n. You need to find a sub-sequence S of the array such that gcd(s... |

Up You Go Arya is taking part in a game of throwing marbles upwards. There are n participants in this game in ... |

Chop Chop There is a convex polygon A of n vertices and you want to divide it into two convex polygons P and Q... |

Shine on You Crazy Diamond This problem is authored by one of our late friends, Sifat, who unexpectedly left us last year. He w... |

Mix and Merge You are given an array A of n elements and a constant k. You can perform the following operation on ... |

Mental Change Anjan was feeling low for nearly a couple of months. To improve his condition, he decided to track h... |

Match Sticks Bob was playing with match sticks and discovered that he could create alphabets and numbers by arran... |

Multiverse Of Courier Service Dr. Strange finally discovered a safe way to travel between parallel universes. By noticing people’s... |

Not Nim Alice and Bob recently learned about Nim. In a Nim game, two players play a game on several stacks o... |

Final Over This is ICC World Cup Final and the match is between Bangladesh and Australia. The match goes down t... |

Inspired by Bermuda Triangle Do you know about Bermuda Triangle? The Bermuda Triangle is a mythical section of the Atlantic Ocean... |

Help IKRI Ikri has a binary string s of length n. (each character of s is either 0 or 1) The weight of the bin... |

Marbles Per Second You have a rooted tree of n nodes. If we traverse the tree from the root, let’s say the traversing o... |

Cheers !! Isabella is from the 19 series of RUET. She loves programming. Also, She considers a number lucky fo... |

Subsequence Fight You are given an array a1,a2,…,an consisting of n distinct integers and an integer k. You can cho... |

MangoSmash Your friend has come to visit the RUET campus. As the Mango season goes on ⋯, he/she said “Mama Aam ... |

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

Functions of the Hell's Kitchen The District Attorney(DA) of Hell’s Kitchen has been defined following functions. GCD(n,m): Returns ... |

President of RUET FC Zenitsu has been elected as the president of RUET FC and now he wants to sign some of the best world... |

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.