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

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

DifficultyAllEasyMediumHardExpert
Tags
Clear
Trees0-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 ActionsGraphsGreedyGreedy 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 SortTransactionsTraversalTreeTriangleTrieTwo BagsTwo HeapsTwo PointersTwo SumTwo WalkersTwo's ComplementURL ShortenerUnboundedUnion FindUpper BoundValidationVersion ControlViewsWeighted DistanceWord BreakXORZ AlgorithmZigzagbasics
StatusProblemTagsDifficultyAcceptancePoints
Lowest Common Ancestor

learn-m6-sparse-table-lca-g2

Binary LiftingLCATrees
Binary LiftingLCATrees
Easy
0.0%(0/0)
100
Distance Between Nodes

learn-m6-sparse-table-lca-e1

DistanceLCATrees
DistanceLCATrees
Easy0.0%(0/0)100
Ancestor Check

learn-m6-sparse-table-lca-x2

AncestorEuler TourTrees
AncestorEuler TourTrees
Easy0.0%(0/0)100
Meeting Point of Three

learn-m6-sparse-table-lca-e3

Binary LiftingLCATrees
Binary LiftingLCATrees
Easy0.0%(0/0)100
Cable Length Between Labs

learn-m6-sparse-table-lca-m2

LCATreesWeighted Distance
LCATreesWeighted Distance
Medium0.0%(0/0)200
Static Path Sum

learn-m6-hld-g1

LCAPath QueryTrees
LCAPath QueryTrees
Easy0.0%(0/0)100
Path Max with Updates

learn-m6-hld-g2

Path QueryPoint UpdateTrees
Path QueryPoint UpdateTrees
Easy0.0%(0/0)100
Busiest Node on Path

learn-m6-hld-e1

ArgmaxPath QueryTrees
ArgmaxPath QueryTrees
Easy0.0%(0/0)100
Nodes on the Path

learn-m6-hld-x1

DistanceLCATrees
DistanceLCATrees
Easy0.0%(0/0)100
Path Add, Point Query

learn-m6-hld-x2

BITEuler TourPath Update+1
BITEuler TourPath Update+1
Medium0.0%(0/0)200
Subtree Size Queries

learn-m6-hld-e2

DFSSubtreeTrees
DFSSubtreeTrees
Easy0.0%(0/0)100
Ancestor Check Queries

learn-m6-hld-e3

DFSEuler TourTrees
DFSEuler TourTrees
Easy0.0%(0/0)100
Path XOR with Updates

learn-m6-hld-m3

Fenwick TreeHLDTrees
Fenwick TreeHLDTrees
Medium0.0%(0/0)200
Campus Path Total

learn-m6-checkpoint-3

LCAPath QueryPrefix Sum+1
LCAPath QueryPrefix Sum+1
Medium0.0%(0/0)200