Problems
Pick a problem and write your solution in the built-in editor. The judge runs it against real test cases while you watch, and the wider archive is open to read whenever you like.
This page is still under construction.
- Allowed swapsHard9
Union-find, Implementation +2No attempts yetTime limit6sMemory limit512 MB
Judgeable Geometry, Greedy +1No attempts yetTime limit5sMemory limit512 MB
Judgeable- Game MovesHard9
Dynamic programming, Backtracking +1No attempts yetTime limit1sMemory limit512 MB
Judgeable - Jumping ImpalaHard9
Binary search, Graph +2No attempts yetTime limit8sMemory limit512 MB
Judgeable Graph, Greedy +2No attempts yetTime limit8sMemory limit512 MB
Judgeable- Blue ForestHard9
Geometry, Graph +2No attempts yetTime limit8sMemory limit512 MB
Judgeable Backtracking, Brute force +2No attempts yetTime limit2sMemory limit512 MB
JudgeableSegment tree, Hash map +2No attempts yetTime limit2sMemory limit512 MB
Judgeable- British MenuHard9
Graph, Dynamic programming +2No attempts yetTime limit5sMemory limit1024 MB
Judgeable Tree, Greedy +1No attempts yetTime limit2sMemory limit512 MB
Judgeable- Triple treeHard9
Math, Number theory +2No attempts yetTime limit1sMemory limit512 MB
Judgeable - Geohash GridHard9
Divide and conquer, Tree +2No attempts yetTime limit5sMemory limit512 MB
Judgeable - Hangar HurdlesHard9
Union-find, BFS +2No attempts yetTime limit8sMemory limit512 MB
Judgeable - Risky LotteryHard9
Game theory, Probability +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - ConferenceHard9
Graph, Union-find +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - HackerHard9
Segment tree, Hash map +2No attempts yetTime limit4sMemory limit512 MB
Judgeable - AcrobatHard9
Graph, Bit manipulation +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - Mole TunnelsHard9
Tree, Greedy +2No attempts yetTime limit2sMemory limit512 MB
Judgeable Greedy, Sorting +2No attempts yetTime limit2sMemory limit512 MB
Judgeable- EggscavationHard9
Geometry, Prefix sum +2No attempts yetTime limit10sMemory limit512 MB
Judgeable - LegendsHard9
Graph, Divide and conquer +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - PiratesHard9
Greedy, Dynamic programming +2No attempts yetTime limit10sMemory limit512 MB
Judgeable - MinerHard9
Geometry, Binary search +2No attempts yetTime limit1.5sMemory limit512 MB
Judgeable - Cactus giftHard9
Dynamic programming, Tree +2No attempts yetTime limit1.5sMemory limit512 MB
Judgeable - Robotic Cow HerdHard9
Heap, Greedy +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - Function and QueriesHard9
Dynamic programming, Divide and conquer +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - Unlucky 89Hard9
Number theory, Math +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - Find the SequenceHard9
Number theory, Math +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - Soldiers (Large)Hard9
Game theory, Dynamic programming +1No attempts yetTime limit5sMemory limit512 MB
Judgeable - Clash Royale (Large)Hard9
Dynamic programming, Greedy +1No attempts yetTime limit20sMemory limit512 MB
Judgeable - Map Reduce (Large)Hard9
BFS, Graph +2No attempts yetTime limit5sMemory limit512 MB
Judgeable Implementation, Simulation +2No attempts yetTime limit5sMemory limit512 MB
Judgeable- RonaldHard9
Graph, Bit manipulation +2No attempts yetTime limit1sMemory limit64 MB
Judgeable - The Kingdom of JOIOIHard9
Binary search, Greedy +2No attempts yetTime limit4sMemory limit256 MB
Judgeable - RopeHard9
Dynamic programming, Divide and conquer +2No attempts yetTime limit2.5sMemory limit256 MB
Judgeable - Rides 2Hard9
Segment tree, Sorting +2No attempts yetTime limit2sMemory limit256 MB
Judgeable String, String matching +2No attempts yetTime limit2sMemory limit512 MB
Judgeable- Building a Tall BarnHard9
Greedy, Heap +2No attempts yetTime limit2sMemory limit512 MB
Judgeable Combinatorics, Dynamic programming +2No attempts yetTime limit2sMemory limit512 MB
Judgeable- Maximum Color CliqueHard9
Graph, Combinatorics +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - Bracket PathsHard9
Tree, Divide and conquer +2No attempts yetTime limit3sMemory limit1024 MB
Judgeable - Switch GrassHard9
Graph, Shortest path +2No attempts yetTime limit2sMemory limit512 MB
Judgeable Math, Number theory +2No attempts yetTime limit2sMemory limit128 MB
Judgeable- Tarot Sham BoastHard9
String matching, Probability +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - Shifty GridHard9
Simulation, Implementation +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - Rolling the BottleHard9
Geometry, Sorting +2No attempts yetTime limit2.5sMemory limit512 MB
Judgeable - Largest window sumHard9
Greedy, Prefix sum +2No attempts yetTime limit1sMemory limit512 MB
Judgeable - Minimum Cycle MeanHard9
Dynamic programming, Graph +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - PseudoknotHard9
String, String matching +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - Creating Fake NewsHard9
Math, Graph +1No attempts yetTime limit2sMemory limit512 MB
Judgeable - Fashion ShowHard9
Greedy, Graph +2No attempts yetTime limit5sMemory limit512 MB
Judgeable - Slate Modern (Large)Hard9
Graph, Shortest path +2No attempts yetTime limit80sMemory limit512 MB
Judgeable Geometry, Math +2No attempts yetTime limit120sMemory limit512 MB
JudgeableGame theory, Simulation +2No attempts yetTime limit5sMemory limit512 MB
JudgeableCombinatorics, Math +2No attempts yetTime limit2sMemory limit512 MB
JudgeableProbability, Math +2No attempts yetTime limit2sMemory limit512 MB
JudgeableNumber theory, Divide and conquer +2No attempts yetTime limit10sMemory limit512 MB
Judgeable- NPM998244353 (Hard)Hard9
Combinatorics, Dynamic programming +2No attempts yetTime limit5sMemory limit512 MB
Judgeable Dynamic programming, Combinatorics +2No attempts yetTime limit2sMemory limit512 MB
JudgeableSegment tree, Greedy +1No attempts yetTime limit2sMemory limit512 MB
JudgeableCombinatorics, Tree +2No attempts yetTime limit2sMemory limit512 MB
Judgeable- Strongly MatchableHard9
Graph, Math +2No attempts yetTime limit3sMemory limit512 MB
Judgeable Geometry, Implementation +2No attempts yetTime limit2sMemory limit512 MB
Judgeable- LeapfrogHard9
Number theory, Math +1No attempts yetTime limit2sMemory limit512 MB
Judgeable - Fractal TreeHard9
Tree, Recursion +2No attempts yetTime limit7sMemory limit512 MB
Judgeable - Arranging tilesHard9
Dynamic programming, Geometry +2No attempts yetTime limit1sMemory limit1024 MB
Judgeable - CratersHard9
Geometry, Dynamic programming +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - Enlarging EnthusiasmHard9
Dynamic programming, Combinatorics +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - Treasure MapHard9
Graph, Dynamic programming +2No attempts yetTime limit2sMemory limit512 MB
Judgeable Game theory, Implementation +2No attempts yetTime limit2sMemory limit512 MB
Judgeable- IntuidiffHard9
String matching, Greedy +2No attempts yetTime limit7sMemory limit512 MB
Judgeable - Crazy RotationsHard9
String matching, Combinatorics +2No attempts yetTime limit15sMemory limit512 MB
Judgeable - GCD SumHard9
Number theory, Greedy +2No attempts yetTime limit2sMemory limit1024 MB
Judgeable - SkiingHard9
Geometry, Greedy +2No attempts yetTime limit1sMemory limit1024 MB
Judgeable - Restaurant BribesHard9
Graph, Math +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - One-Way StreetsHard9
Graph, DFS +2No attempts yetTime limit3sMemory limit256 MB
Judgeable - Intrinsic IntervalHard9
Segment tree, Stack +1No attempts yetTime limit3sMemory limit512 MB
Judgeable - Lunar LandscapeHard9
Geometry, Sorting +1No attempts yetTime limit2sMemory limit512 MB
Judgeable Graph, Shortest path +2No attempts yetTime limit3sMemory limit512 MB
Judgeable- Laminar FamilyHard9
Tree, DFS +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - ToysHard9
Combinatorics, Number theory +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - Workbook AlgorithmsHard9
Combinatorics, Graph +2No attempts yetTime limit1sMemory limit512 MB
Judgeable - Secret AgentHard9
Graph, Geometry +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - GarageHard9
Segment tree, Number theory +2No attempts yetTime limit4sMemory limit256 MB
Judgeable - Counting CyclesHard9
Graph, DFS +2No attempts yetTime limit4sMemory limit512 MB
Judgeable - LeadersHard9
Game theory, Dynamic programming +2No attempts yetTime limit3sMemory limit512 MB
Judgeable - Disco Dance DebacleHard9
Graph, Greedy +2No attempts yetTime limit5sMemory limit512 MB
Judgeable Segment tree, Array +2No attempts yetTime limit5sMemory limit512 MB
JudgeableGraph, BFS +2No attempts yetTime limit2sMemory limit512 MB
Judgeable- KabobsHard9
Dynamic programming, String +2No attempts yetTime limit5sMemory limit512 MB
Judgeable Combinatorics, Number theory +2No attempts yetTime limit2sMemory limit256 MB
Judgeable- DramaHard9
Combinatorics, Dynamic programming +1No attempts yetTime limit2sMemory limit512 MB
Judgeable - Push a BoxHard9
Graph, BFS +1No attempts yetTime limit2sMemory limit512 MB
Judgeable - L-th K-th numberHard9
Binary search, Array +2No attempts yetTime limit2sMemory limit512 MB
Judgeable - GardenerHard9
Segment tree, Binary search +2No attempts yetTime limit3sMemory limit128 MB
Judgeable Graph, Shortest path +2No attempts yetTime limit10sMemory limit512 MB
JudgeableGraph, BFS +2No attempts yetTime limit2sMemory limit512 MB
Judgeable- Conveyor BeltHard9
Math, Greedy +2No attempts yetTime limit2sMemory limit512 MB
Judgeable Dynamic programming, Greedy +2No attempts yetTime limit2sMemory limit512 MB
Judgeable- Blocks 2Hard9
Combinatorics, Dynamic programming +2No attempts yetTime limit1sMemory limit256 MB
Judgeable