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

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

DifficultyAllEasyMediumHardExpert
Tags
0-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 SortTransactionsTraversalTreeTreesTriangleTrieTwo BagsTwo HeapsTwo PointersTwo SumTwo WalkersTwo's ComplementURL ShortenerUnboundedUnion FindUpper BoundValidationVersion ControlViewsWeighted DistanceWord BreakXORZ AlgorithmZigzagbasics
StatusProblemTagsDifficultyAcceptancePoints
Campus Water Network

learn-m7-network-flow-h1

DinicGraphsMax Flow+1
DinicGraphsMax Flow
+1
Hard
0.0%(0/0)
300
Perfect Assignment?

learn-m7-network-flow-x1

Bipartite MatchingGraphs
Bipartite MatchingGraphs
Medium0.0%(0/0)200
Can We Send K Units?

learn-m7-network-flow-x2

GraphsMax FlowNetwork Flow
GraphsMax FlowNetwork Flow
Medium0.0%(0/0)200
Escape Routes

learn-m7-network-flow-e2

GraphsMax FlowNetwork Flow
GraphsMax FlowNetwork Flow
Easy0.0%(0/0)100
Bound of Two Ends

learn-m7-network-flow-e3

MathNetwork Flow
MathNetwork Flow
Easy0.0%(0/0)100
Least Pipes to Cut

learn-m7-network-flow-m2

GraphsMin CutNetwork Flow
GraphsMin CutNetwork Flow
Medium0.0%(0/0)200
Seating with Capacity

learn-m7-network-flow-m3

Bipartite MatchingGraphsNetwork Flow
Bipartite MatchingGraphsNetwork Flow
Medium0.0%(0/0)200
Feature Launch Plan

learn-m7-network-flow-h2

GraphsMin CutNetwork Flow
GraphsMin CutNetwork Flow
Hard0.0%(0/0)300
Euler Totient

learn-m7-advanced-number-theory-g1

Euler TotientNumber Theory
Euler TotientNumber Theory
Easy0.0%(0/0)100
Fibonacci Modulo

learn-m7-advanced-number-theory-g2

FibonacciMatrix ExponentiationNumber Theory
FibonacciMatrix ExponentiationNumber Theory
Easy0.0%(0/0)100
Power Modulo

learn-m7-advanced-number-theory-e1

Binary ExponentiationModular ArithmeticNumber Theory
Binary ExponentiationModular ArithmeticNumber Theory
Easy0.0%(0/0)100
Totient Sum

learn-m7-advanced-number-theory-m1

Euler TotientNumber TheorySieve
Euler TotientNumber TheorySieve
Medium0.0%(0/0)200
Recurrence Queries

learn-m7-advanced-number-theory-h1

Linear RecurrenceMatrix ExponentiationNumber Theory
Linear RecurrenceMatrix ExponentiationNumber Theory
Hard0.0%(0/0)300
Totient Queries

learn-m7-advanced-number-theory-x1

Euler TotientNumber TheorySieve
Euler TotientNumber TheorySieve
Medium0.0%(0/0)200
nCr Modulo Prime

learn-m7-advanced-number-theory-x2

CombinatoricsLucas TheoremNumber Theory
CombinatoricsLucas TheoremNumber Theory
Hard0.0%(0/0)300
Modular Inverse

learn-m7-advanced-number-theory-e2

Binary ExponentiationModular ArithmeticNumber Theory
Binary ExponentiationModular ArithmeticNumber Theory
Easy0.0%(0/0)100
Divisor Sum

learn-m7-advanced-number-theory-e3

Number TheoryPrime Factorization
Number TheoryPrime Factorization
Easy0.0%(0/0)100
Huge Power

learn-m7-advanced-number-theory-m2

Euler TotientModular ArithmeticNumber Theory
Euler TotientModular ArithmeticNumber Theory
Medium0.0%(0/0)200
Fence Painting

learn-m7-advanced-number-theory-m3

Dynamic ProgrammingMatrix ExponentiationNumber Theory
Dynamic ProgrammingMatrix ExponentiationNumber Theory
Medium0.0%(0/0)200
Power Cycle Length

learn-m7-advanced-number-theory-h2

Euler TotientModular ArithmeticNumber Theory
Euler TotientModular ArithmeticNumber Theory
Hard0.0%(0/0)300
1…202122…28