## Justified TextGiven a long string of text, you will have to print it following these rules: Replace all consecuti... |

## N-th PrimeIn this problem, you will have to print the nnn-th prime number. The first few prime numbers are giv... |

## Byang's Day Out!Byang and his little brother Kuno loves Cricket. But they never went to the stadium to watch a match... |

## Life of DecimalsGiven any circle, if you divide the circumference of that circle with its diameter, you would always... |

## Goat ResearchGoats are interesting creatures. They are incredibly durable and can fall from great heights, be str... |

## Ice-cream of Montu MiaMontu Mia is a student of “Omok School”. He likes to eat an icecream everyday. But he also likes to ... |

## Genius Needs HelpYou all know Emrul bhai, right? He is a genius guy. He knows how to add two integer numbers and so d... |

## BPL Mubarak!Bangladesh Premier League is in Sylhet for the first time. Today's match is Sylhet Sixers vs the Dha... |

## Make It Big!You are given a number N (10 ≤ N ≤ 2×109). You have to perform exactly two swap operation. You can c... |

## #HashtagGiving Hashtag in Social Network is very popular now a day. But Poltu is very new in Social Network.... |

## Itsy's Magic CardsItsy needs your help with her magic cards. Her magic cards grant her special spider-witch powers. Un... |

## Big FactorialsGiven an integer N, print the trailing 4 digits of N!N!N! (N factorial). N!=N×(N−1)×(N−2)×...×1N! = ... |

## Little Subarray SumGiven an array of N numbers and two indices, determine the sum of the numbers in the array between (... |

## Neat BracketsGiven a sequence of opening and closing parentheses ("(" and ")") you will have ... |

## Counting the CountsSalam is a school teacher. He takes ICT of class 8th. The head of the school wants to know how many ... |

## Burrows and ScofieldMichael Scofield and Lincoln Burrows are working on a secret mission. Michael is needed to give a se... |

## Version CheckerJava Development Kit (JDK) installer for Mac OS X has a bug: Can you spot it? Notice how Java is ch... |

## Mysterious SumSohel vai reads newspaper every morning. The newspaper he reads contains some good features includin... |

## GPA CalculatorShibli is a very good student. He is very regular and attentive in his classes. He is very serious a... |

## Alayna and VowelsAlayna loves playing. Every night before going to sleep, she plays different games with Baba. Now Al... |

## CGPA, the Golden Egg!Jenith is a student of CSE of Metropolitan University (MU). Recently her fifth term’s result has bee... |

## Reverse ManMonu mia is a reverse man! Never heard of reverse man? It means if you ask him to write something in... |

## Incompatible CropsDid you know that certain crops cannot grow next to each other? Given the layout of a field as a gri... |

## Pascal's TriangleGiven an integer N, print the sum of the Nth row of the Pascal's triangle. In mathematics, Pascal's ... |

## Tidy BitsRead an integer variable, and determine the smallest positive integer that has the same number of 1\... |

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.