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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.