Erik: The Candyboy - 1 Erik has N candies, and he wants to distribute those candies among his friends. But he has more frie... |

LIDS We all know about LIS (Longest Increasing Sub sequence). The task to find the length of the longest ... |

Help Chokro Pias and Chokro are good friends. Pias's birthday is coming soon. So, Chokro wants to gift Pias an a... |

Train Hijack You and your friend Daneliya Tuleshova are planning to hijack a train. Your friend will go inside a... |

Alternative Subsequence: The Extension Recall that the sequence b is a subsequence of the sequence a, if b can be derived from a by removin... |

Do You Know Tree ? "Stay at least one metre distance from others.” Corona has affected the World as well as Bangladesh.... |

Easy Sequence 1 Let’s define an easy sequence F. Where: F(1)=1 F(2X)=F(X)2+1 F(2X+1)=F(X)×F(X+1)+2 Here X is a posit... |

Video Game Shefin is playing a game. In this game there are N buildings numbered from 1 to N. Each building has... |

Rainy Day You have to complete N tasks tomorrow, where each task can last for any number of minutes. Each task... |

Dominoes Forever Once when I was little, my father took me to a tobacco shop! It is surprising, but true. He asked th... |

Snake's Neck Remember Violet and Dash from the movie "The Incredibles"? The two siblings recently installed the c... |

Paranoid Trading You have been newly appointed as the accountant of Michael Corleone - the famous mafia boss. Your ta... |

Holy Tree What is a tree? A tree is a bidirectional connected graph with no cycle. In a tree, we can create ... |

Maximum Sum Little Jimmy loves to play with numbers. One day he was playing with a number sequence. In his game,... |

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

m-Beautiful Numbers An m-Beautiful Number is a number which is divisible by $m$ and the sum of the digits is also divisi... |

Is Bita Happy? Bita has learned bitwise-operations recently. She is doing some experiments with these operations no... |

Burger King Every day, more than 11 million guests visit BURGER KING® restaurants around the world. And they do ... |

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

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

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

OCD Returns! This problem author has OCD (obsessive–compulsive disorder). One day his teacher gave him an array o... |

The Perfect Collection Given an array A of N integers, if we choose any K of these integers and calculate their bitwise XOR... |

Subarray Sum You are given an array having N integers. You have to select at most K positions in the array and re... |

Sticking Pins You are sticking pins on a 2D board at N given coordinates. However, since you are not very good at ... |

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.