Robi Kaka's Cube Our beloved Robi Kaka has invented a cube. You have to solve only one side of this cube – a square o... |

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

Tricky Racer Talent Bob is a galaxy wide known legend and a racer (in game :P). He always wins races by his trick... |

Ice-Cream of Montu Mia Again! Montu Mia is a student of “Omok School”. He likes to eat an ice-cream every day. But he also likes t... |

Jontrona! Isfan vai is on high demand nowadays. You know why, right? However, his best friend is somewhat disa... |

Next Permutation A sequence of $N$ distinct integers is called a permutation if all the integers are between $1$ and ... |

Locality-Sensitive Hashing I According to Wikipedia, Locality-Sensitive hashing (LSH) is an algorithmic technique that hashes sim... |

Revisiting Metro Rail Blocks The city of Dhaka is experiencing the construction of metro rails. Imagine one such metro rail spans... |

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

Help Sakib! Sakib likes competitive programming. Often he takes part in online programming contests. But due to ... |

Think Inside the Box Babu Bhai is a student of AUST. He has some favorite numbers. His favorite numbers are those number ... |

Who Gets the Money!? Who doesn’t get happy after getting money in the pockets of clothes before washing them? During this... |

ACT 1: Ash Counting Trees Ash Ketchum has a weird rooted tree (read Notes sections if you don't know about tree data structure... |

Compressed String You are given a string $S$ consisting of lowercase latin letters '$a$' & '$b$' only. Your task is to... |

String Is Not That Easy Let's consider a string S which is obtained by concatenating the non-negative integers from 0 to 102... |

Jealous Nobita Shizuka and Dekisugi are playing with a binary tree rooted at 1. In each turn, the player chooses a ... |

Hououin Kyouma! Okabe Rintarou, the mad scientist is doing research to find the most desired Steins Gate. Besides be... |

Shuvo Noboborsho! "Shuvo Noboborsho" is the traditional greeting for Bengalis in the Bengali new year which means "Hap... |

Judging Troubles The NWERC organisers have decided that they want toimprove the automatic grading of the submissions ... |

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

The Game Is Finally On As Mr. Bean was playing a video game in the previous problem, now he is leveled up. At this level, h... |

Groby In the 1970-80s, students in the Soviet Union had to face quite a hurdle. The administrators of sele... |

Jumbled Communication Your best friend Adam has recently bought a Raspberry Pi and some equipment, including a wireless te... |

Binary Pigeons There are $N$ pigeons standing one after another in a straight line. There are two kinds of pigeons:... |

Chance of Passing the Quiz Rocky is starting his online quizzes and he has been provided with some passing criteria. The rule 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.