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
Game Theory0-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-WarshallFormulasFrequencyFrogGCDGeometryGitGitHubGitHub 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 SortTransactionsTraversalTreeTreesTriangleTrieTwo BagsTwo HeapsTwo PointersTwo SumTwo WalkersTwo's ComplementURL ShortenerUnboundedUnion FindUpper BoundValidationVersion ControlViewsWeighted DistanceWord BreakXORZ AlgorithmZigzagbasics
StatusProblemTagsDifficultyAcceptancePoints
Coin Row Game

learn-m5-dp-introduction-h2

Dynamic ProgrammingGame TheoryInterval DP
Dynamic ProgrammingGame Theory
Interval DP
Hard
0.0%(0/0)
300
Nim Game

learn-m7-game-theory-g1

Game TheoryNimXOR
Game TheoryNimXOR
Easy0.0%(0/0)100
Grundy Numbers

learn-m7-game-theory-g2

DPGame TheoryGrundy Number
DPGame TheoryGrundy Number
Easy0.0%(0/0)100
One Stone at a Time

learn-m7-game-theory-e1

Game TheoryMathParity
Game TheoryMathParity
Easy0.0%(0/0)100
Misere Nim

learn-m7-game-theory-m1

Game TheoryNimXOR
Game TheoryNimXOR
Medium0.0%(0/0)200
Grundy Nim

learn-m7-game-theory-h1

DPGame TheoryGrundy Number+1
DPGame TheoryGrundy Number+1
Hard0.0%(0/0)300
Count the Losing Positions

learn-m7-game-theory-x1

DPGame TheoryGrundy Number
DPGame TheoryGrundy Number
Medium0.0%(0/0)200
Find a Winning Move

learn-m7-game-theory-x2

Game TheoryNimXOR
Game TheoryNimXOR
Medium0.0%(0/0)200
One to K Stones

learn-m7-game-theory-e2

Game TheoryMathModular Arithmetic
Game TheoryMathModular Arithmetic
Easy0.0%(0/0)100
Add One More Pile

learn-m7-game-theory-e3

Game TheoryNimXOR
Game TheoryNimXOR
Easy0.0%(0/0)100
Subtract a Square

learn-m7-game-theory-m2

DPGame TheoryGrundy Number
DPGame TheoryGrundy Number
Medium0.0%(0/0)200
Staircase Stones

learn-m7-game-theory-m3

Game TheoryNimXOR
Game TheoryNimXOR
Medium0.0%(0/0)200
Split Unequal Piles

learn-m7-game-theory-h2

DPGame TheoryGrundy Number+1
DPGame TheoryGrundy Number+1
Hard0.0%(0/0)300
Nim Tournament

learn-m7-checkpoint-3

Game TheoryNimXOR
Game TheoryNimXOR
Medium0.0%(0/0)200