Kotlin Heroes The International Collegiate Programming Contest is an algorithmic programming contest for college s... |

I Did Not Do the Assignment Professor Petr is very angry over some of his students now-a-days for not doing assignment. He wants... |

LCM Given an integer $L$, you have to find the product of two different integers such that their LCM (Le... |

Modulo Let's get straight into the problem. In ths problem, here will be multiple test cases. In each test ... |

Poltu and Trailing Zero Poltu gives a problem to his friend Boltu. The description is given below: You are given an integer ... |

Lucky Shirt Marjokes is a very famous comedy personality in Byteland. He is a poet, a writer, a singer and an ac... |

Prime Factors Given an integer N, can you determine its prime factors? |

Is It A Square? Shikamaru is the most brilliant student of his class. He is very good at Mathematics. Mr. Asuma is t... |

Life of Phi The Great Khami is learning Number Theory. He is very excited to know that Euler's Totient Function ... |

Half Measures The numbers 1,2,3,⋯n (each integer from 1 to n once) are written on a board. In one operation, Jesse... |

Largest Prime A positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe... |

Magic Number Jack loves to play with numbers. One day, while he was playing with numbers he found something inter... |

N-th Prime In this problem, you will have to print the n-th prime number. The first few prime numbers are given... |

Mystery of Fibonacci Fibonacci sequence is a recursive sequence that depends on the following definition: Fib(N) = Fib(N-... |

The Game Is Back On Moriarty is bored again. When he gets bored, the only thing he wants to do is play with Sherlock. So... |

Easy Prime! There are N numbers in an array. You will have Q queries. In each query, you can make 2 operations. ... |

Left Prime Prime numbers are the ones which can only be divided by 1 and the number itself. 2, 3, 5, 7, 11, 13 ... |

Secret Meeting The world is terrified by Pandas! After a miraculous chemical explosion, they became smarter; and ev... |

Chowdhury Saheb & the Numbers You like short description of problems? Me too! Let's go to an easy problem. You are given an array ... |

Equation Equals Hazards You are given the equation, GCD(A,M)=1. You have to determine whether there exists at least one inte... |

Oh Functions Let’s define functions f and g as: f(x) = 2 * ( f(x-1) + g(x-1) - 1 ) * ( f(x-1) + g(x-1) - 3 ) + 12... |

Love Letters! Lately Fahim is getting a lot of love letters. A LOT of love letters. Since he is confused about whi... |

Zacob the Batsman It's known that Zacob is a reliable batsman of LU CSE Cricket Team. Also as long as he is on the cre... |

Laali Vs Bessie One day Raju discovered USACO and from that day he would spend all his time solving problems. Laali ... |

Meena O Dosto Sele Dosto sele Dipu and his friends used to disturb Rita Apu everyday on her way to school singing , " র... |

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.