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

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

DifficultyAllEasyMediumHardExpert
Tags
Clear
Math0-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 TheoremMSTMatchingMatrixMatrix 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
University ID

university-id

ImplementationMathbasics
ImplementationMathbasics
Easy
100.0%(1/1)
100
Power of Two

learn-m1-power-of-two

Bit ManipulationMath
Bit ManipulationMath
Easy0.0%(0/0)100
Sum of First N Numbers

learn-m1-sum-first-n

FormulasMath
FormulasMath
Easy100.0%(1/1)100
Nested Loop Iteration Count

learn-m1-nested-loop-count

LoopsMath
LoopsMath
Easy0.0%(0/0)100
Sum Of Squares Modulo

learn-m1-sum-of-squares

MathNumber Theory
MathNumber Theory
Medium0.0%(0/0)200
Tournament Halving Rounds

learn-m1-complexity-e2

ComplexityLoopsMath
ComplexityLoopsMath
Easy0.0%(0/0)100
Even Tokens in a Range

learn-m1-complexity-e3

ComplexityFormulasMath
ComplexityFormulasMath
Easy0.0%(0/0)100
Last Player Standing

learn-m1-complexity-h2

ComplexityMathSimulation
ComplexityMathSimulation
Hard0.0%(0/0)300
Leap Year or Not

learn-m1-leap-year

ConditionalsMath
ConditionalsMath
Easy0.0%(0/0)100
Trailing Zeros of Factorial

learn-m1-math-m2

FactorialMath
FactorialMath
Medium0.0%(0/0)200
Fibonacci Modulo M

learn-m1-math-h2

FibonacciMathModular Arithmetic
FibonacciMathModular Arithmetic
Hard0.0%(0/0)300
Circle Game Survivor

learn-m2-stack-queue-e3

MathQueueSimulation
MathQueueSimulation
Easy0.0%(0/0)100
Tower of Hanoi Moves

learn-m3-recursion-backtracking-e1

MathRecursion
MathRecursion
Easy0.0%(0/0)100
Ways to Climb the Stairs

learn-m3-recursion-backtracking-x1

MathMemoizationRecursion
MathMemoizationRecursion
Easy0.0%(0/0)100
Badge Digit Product Steps

learn-m3-recursion-backtracking-e3

DigitsMathRecursion
DigitsMathRecursion
Easy0.0%(0/0)100
N-th Fibonacci Number

learn-m5-dp-introduction-g1

Dynamic ProgrammingMathMemoisation
Dynamic ProgrammingMathMemoisation
Easy0.0%(0/0)100
Bound of Two Ends

learn-m7-network-flow-e3

MathNetwork Flow
MathNetwork Flow
Easy0.0%(0/0)100
One Stone at a Time

learn-m7-game-theory-e1

Game TheoryMathParity
Game TheoryMathParity
Easy0.0%(0/0)100
One to K Stones

learn-m7-game-theory-e2

Game TheoryMathModular Arithmetic
Game TheoryMathModular Arithmetic
Easy0.0%(0/0)100