PAU OJ Online Judge
ProblemsLearnStudy plansContestsSubmissionsRank

Updates

Announcements and upcoming contests

Loading announcements…
Sign in for personal alertsBrowse contests
Log inSign up

PAU OJ

PrimeAsia University Online Judge

A real online judge for programming practice, university contests and coding assessments. Write code in your browser, get sandboxed verdicts, and track your progress.

Platform

  • Problems
  • Contests
  • Submissions
  • Ranking
  • Reviewers

Resources

  • User guide
  • Changelog
  • How judging works
  • System health
  • Create an account

© 2026 PrimeAsia University Online Judge. All rights reserved.

v0.9.0

Practice

Problems

24 problems ready for you. Filter by difficulty or tag, then open the editor.

DifficultyAllEasyMediumHardExpert
Tags
Clear
Greedy0-1 BFS0/11D DP2D Difference Array2D Prefix SumActivity SelectionAll PairsAmortisedAnalyticsAncestorArgmaxArraysAssignmentAvailabilityBFSBITBackoffBacktrackingBackward DPBase62Bellman-FordBinaryBinary ExponentiationBinary Indexed TreeBinary LiftingBinary SearchBinary Search TreeBinary Search on AnswerBinary TreesBinary TrieBipartiteBipartite MatchingBit ManipulationBitmaskBitonicBitwise ANDBlocksBottleneckBoundedBounded EdgesBranchingBuild CacheBuild ContextCDNCI/CDCachingCapacity PlanningCode ReviewCoin ChangeCoinsCollaborationCombinatoricsComplexityConcatenationConditionalsConnected ComponentsConsistent HashingConstraint SatisfactionContainersCoordinate CompressionCountingCustom ComparatorCycle DetectionDAGDDLDFSDMLDPDSUDecompositionDegreeDeleteDeployment GateDequeDevOpsDiameterDifference ArrayDigitsDijkstraDinicDistanceDivide and ConquerDivisorsDockerDocker ComposeDynamic ProgrammingEdit DistanceEncodingEstimationEuler TotientEuler TourEventual ConsistencyExchange ArgumentExpressionFactorialFactorialsFalling PathFenwick TreeFibonacciFloyd-WarshallFormulasFrequencyFrogGCDGame TheoryGeometryGitGitHubGitHub ActionsGraphsGreedy CheckGridGroupedGrundy NumberHLDHash MapHash SetHashingHealthcheckHeapHeap SortHeapsHeightHistogramHuffmanIdempotencyImplementationIn-PlaceIncidentIndependent SetIndexesInorderInput OutputInterval DPInterval SchedulingIntervalsInversionsJosephusK-way MergeKMPKadaneKnapsackKruskalLCALCMLCSLISLRULatencyLazyLazy PropagationLeafLeavesLevel OrderLevelsLinear RecurrenceLinked Hash MapLinked ListLoad BalancingLoopsLower BoundLucas TheoremMSTMatchingMathMatrixMatrix BuildMatrix ExponentiationMax FlowMaximumMedianMemoisationMemoizationMergeMerge ConflictMerge Sort TreeMergingMin CutMinimumMinimum PathModular ArithmeticModuloMonotonic QueueMonotonic StackMulti-sourceMulti-stage BuildMultisetNegative CycleNetwork FlowNimNumber TheoryOffline QueriesOnline ConnectivityOnline QueriesOrder StatisticsOrdered DictOrderingPalindromePalindromesParityParsingPartitionPathPath QueryPath UpdatePatternPaymentsPerformancePermutationPoint UpdatePointersPostorderPrefixPrefix SumPrefix SumsPrefix XORPreorderPrime FactorizationPrimesPriority QueueProduction ReviewProjectPruningQueriesQueueRange AssignRange QueryRange UpdateRate LimitingReachabilityRebalancingReconstructionRecoveryRecursionReleaseReliabilityRemoteReplicationRerootingRetryReversalRollbackRound RobinRuntimeSLOSQLSTLSchedulingSearchSecretsSecuritySegment TreeSelectionSetShardingShortest PathSieveSimulationSliding WindowSortingSparse TableSprague-GrundySquaresStackState ExpansionState MachineStringString MatchingStringsSubarraySubarraysSubset SumSubsetsSubstringSubtreeSubtree QuerySumSweep LineSymmetrySystem DesignTSPTTLToken BucketTop-KTopological SortTransactionsTraversalTreeTreesTriangleTrieTwo BagsTwo HeapsTwo PointersTwo SumTwo WalkersTwo's ComplementURL ShortenerUnboundedUnion FindUpper BoundValidationVersion ControlViewsWeighted DistanceWord BreakXORZ AlgorithmZigzagbasics
StatusProblemTagsDifficultyAcceptancePoints
Merge Booking Intervals

learn-m2-stl-collections-x2

GreedyIntervalsSorting
GreedyIntervalsSorting
Medium
0.0%(0/0)
200
Connect the Ropes

learn-m2-stl-collections-m2

GreedyHeapSTL
GreedyHeapSTL
Medium0.0%(0/0)200
Minimize the Maximum Daily Load

learn-m3-sorting-searching-m1

Binary SearchBinary Search on AnswerGreedy
Binary SearchBinary Search on AnswerGreedy
Medium0.0%(0/0)200
Place Routers Far Apart

learn-m3-sorting-searching-m2

Binary Search on AnswerGreedySorting
Binary Search on AnswerGreedySorting
Medium0.0%(0/0)200
Widest Stall Pair

learn-m3-two-pointers-sliding-window-x2

GreedyTwo Pointers
GreedyTwo Pointers
Medium0.0%(0/0)200
Minimum Coins for the Bill

learn-m3-greedy-g1

CoinsGreedy
CoinsGreedy
Easy0.0%(0/0)100
Most Non-Overlapping Clubs

learn-m3-greedy-g2

Activity SelectionGreedySorting
Activity SelectionGreedySorting
Easy0.0%(0/0)100
Sum of the K Largest

learn-m3-greedy-e1

GreedySorting
GreedySorting
Easy0.0%(0/0)100
Minimum Jumps Across the Yard

learn-m3-greedy-m1

ArraysGreedy
ArraysGreedy
Medium0.0%(0/0)200
Minimum Candies for Children

learn-m3-greedy-h1

ArraysGreedy
ArraysGreedy
Hard0.0%(0/0)300
Rescue Boats with Limit

learn-m3-greedy-x1

GreedySortingTwo Pointers
GreedySortingTwo Pointers
Medium0.0%(0/0)200
Minimum Platforms at the Gate

learn-m3-greedy-x2

GreedySortingTwo Pointers
GreedySortingTwo Pointers
Medium0.0%(0/0)200
Satisfy Children with Cookies

learn-m3-greedy-e2

GreedySortingTwo Pointers
GreedySortingTwo Pointers
Easy0.0%(0/0)100
Plant Saplings with Gaps

learn-m3-greedy-e3

ArraysGreedy
ArraysGreedy
Easy0.0%(0/0)100
Complete the Fuel Circuit

learn-m3-greedy-m2

ArraysGreedyPrefix Sum
ArraysGreedyPrefix Sum
Medium0.0%(0/0)200
Minimize Total Late Penalty

learn-m3-greedy-m3

Exchange ArgumentGreedySorting
Exchange ArgumentGreedySorting
Medium0.0%(0/0)200
Movie Festival with K Rooms

learn-m3-greedy-h2

Binary SearchGreedyInterval Scheduling
Binary SearchGreedyInterval Scheduling
Hard0.0%(0/0)300
Minimize the Largest Pair Sum

learn-m3-checkpoint-3

GreedySortingTwo Pointers
GreedySortingTwo Pointers
Medium0.0%(0/0)200
Smash the Stones

learn-m4-heaps-priority-queues-e1

GreedyHeapSimulation
GreedyHeapSimulation
Easy0.0%(0/0)100
Minimum Cost to Connect Ropes

learn-m4-heaps-priority-queues-x2

GreedyHeapHuffman
GreedyHeapHuffman
Medium0.0%(0/0)200
12