Painting TilesAlice and Bob are two best friends. They have a board of N tiles, which they need to paint. Initiall...

Two FriendsCodeMask and CodeNewtons are two friends. Today they are playing an interesting game. The game invol...

Keep MovingBalurmath is a city which has N interesting tourist spots, which are connected between themselves by...

A Boring GameAlice and Bob are playing a game with a tree with n nodes. Alice always plays first, and the two pla...

Game of TicTacToeAlice and Bob is a playing a game of tictactoe, to be precise a variant of tictactoe called Nota...

Game on MarsIn the year 2020, Alice and Bob will land on Mars just to play a game that will be broadcasted live ...

Lucky Stone GameAlice and Bob are playing a stone game. They consider 4 and 7 as lucky numbers and they like to make...

Game of TicTacToe, AgainAlice and Bob are playing a game of Tictactoe, to be precise a variant of tictactoe called Notak...

Bear and Game"Your life is over, you haven't noticed yet!!!" Masha shouted. "What are you doing??&...

Jan or JamiJan and Jami are playing a game. Initially they have a string (S) consisting of only uppercase lette...

Fivefold RemovalsAlice and Bob are playing a simple game on marbles. They have a bucket containing N marbles, and the...

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