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

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

DifficultyAllEasyMediumHardExpert
Tags
Clear
Segment Tree0-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 RobinRuntimeSLOSQLSTLSchedulingSearchSecretsSecuritySelectionSetShardingShortest 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
Range Minimum Query

learn-m6-segment-tree-g1

MinimumRange QuerySegment Tree
MinimumRange QuerySegment Tree
Easy
0.0%(0/0)
100
Range Sum with Point Updates

learn-m6-segment-tree-g2

Point UpdateRange QuerySegment Tree
Point UpdateRange QuerySegment Tree
Easy0.0%(0/0)100
Index of the Maximum

learn-m6-segment-tree-e1

ArgmaxRange QuerySegment Tree
ArgmaxRange QuerySegment Tree
Easy0.0%(0/0)100
Range Add, Range Sum

learn-m6-segment-tree-m1

Lazy PropagationRange UpdateSegment Tree
Lazy PropagationRange UpdateSegment Tree
Medium0.0%(0/0)200
Range Assign, Range Sum

learn-m6-segment-tree-h1

Lazy PropagationRange AssignSegment Tree
Lazy PropagationRange AssignSegment Tree
Hard0.0%(0/0)300
Maximum Subarray Sum

learn-m6-segment-tree-x1

Dynamic ProgrammingSegment TreeSubarray
Dynamic ProgrammingSegment TreeSubarray
Medium0.0%(0/0)200
Minimum and Its Count

learn-m6-segment-tree-x2

CountingRange QuerySegment Tree
CountingRange QuerySegment Tree
Easy0.0%(0/0)100
Range Maximum with Updates

learn-m6-segment-tree-e2

MaximumRange QuerySegment Tree
MaximumRange QuerySegment Tree
Easy0.0%(0/0)100
Range Product Modulo

learn-m6-segment-tree-e3

Modular ArithmeticRange QuerySegment Tree
Modular ArithmeticRange QuerySegment Tree
Easy0.0%(0/0)100
Range Add, Range Maximum

learn-m6-segment-tree-m2

Lazy PropagationRange UpdateSegment Tree
Lazy PropagationRange UpdateSegment Tree
Medium0.0%(0/0)200
First Day Above Threshold

learn-m6-segment-tree-m3

Binary SearchRange QuerySegment Tree
Binary SearchRange QuerySegment Tree
Medium0.0%(0/0)200
Count Ratings At Most X

learn-m6-segment-tree-h2

Binary SearchCountingMerge Sort Tree+1
Binary SearchCountingMerge Sort Tree+1
Hard0.0%(0/0)300
Path Sum with Updates

learn-m6-hld-m1

HLDPath QuerySegment Tree
HLDPath QuerySegment Tree
Medium0.0%(0/0)200