A.
FavNum Your master likes to play the game FavNum. At the start of the game, your master gives you a list A ... |

B.
Infinite Snowballs (Easy Version) This is the easy version of the problem. The only difference between the two versions is the constra... |

C.
Infinite Snowballs (Hard Version) This is the hard version of the problem. The only difference between the two versions is the constra... |

D.
Red Blue Green There N cells and M students. Each cell consists of a special bulb and a switch. Initially, the bulb... |

E.
Beautiful Triplets Given an array A of N integers, count number of triplets (i,j,k) such that 1≤i<j<k≤N and Ai+Aj+Ak... |

F.
Kill the Monsters You are playing the famous game, Kill the Monsters. The game has M levels, with one monster in each ... |

G.
Bappi Football Pro League Fall 2022 As you all know, the final match of AUST CSE Presents Bappi Football Pro League Fall 2022, organized... |

H.
Make It a Diamond You are given a binary matrix A of size N∗N, where N is odd. Rows are numbered from top to bottom fr... |

I.
Not so Simple Permutation The title is misleading! Consider an array of length N consisting of all numbers from 1 to N exactly... |

K.
Sad Dinosaur There is a planet named Cefalo-Land. Cefalo-Land orbits once in 106 hours. There is a cute Dinosaur ... |

L.
Sajid the Programmer Sajid is an enthusiastic competitive programmer who loves to solve problems whenever he can and help... |

M.
Barbie String Alam likes string. But he doesn’t like barbies. A string is called a Barbie string if the ith charac... |

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.