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
Sum of First N Numbers

learn-m1-sum-first-n

FormulasMath
FormulasMath
Easy
100.0%
(1/1)
100
Count Pairs With Given Sum

learn-m1-count-pairs

ArraysHash Map
ArraysHash Map
Medium0.0%(0/0)200
Maximum In An Array

learn-m1-max-in-array

ArraysImplementation
ArraysImplementation
Easy0.0%(0/0)100
Duplicate Membership IDs

learn-m1-duplicate-detector

ArraysHash MapSorting
ArraysHash MapSorting
Medium0.0%(0/0)200
Count Pairs With Difference K

learn-m1-pair-difference

ArraysHash Map
ArraysHash Map
Hard0.0%(0/0)300
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
Doubling Notebook Copies

learn-m1-complexity-m2

AmortisedComplexityLoops
AmortisedComplexityLoops
Medium0.0%(0/0)200
Pairs Within Budget

learn-m1-complexity-m3

ComplexitySortingTwo Pointers
ComplexitySortingTwo Pointers
Medium0.0%(0/0)200
Last Player Standing

learn-m1-complexity-h2

ComplexityMathSimulation
ComplexityMathSimulation
Hard0.0%(0/0)300
Fresher Greeting Card

learn-m1-io-greeting

ImplementationInput Output
ImplementationInput Output
Easy0.0%(0/0)100
Event Ticket Total

learn-m1-loop-ticket-total

ImplementationLoops
ImplementationLoops
Easy0.0%(0/0)100
Even or Odd Lanterns

learn-m1-even-odd-lanterns

ConditionalsImplementationLoops
ConditionalsImplementationLoops
Easy0.0%(0/0)100
Canteen Bill with Discount

learn-m1-canteen-bill

ConditionalsImplementation
ConditionalsImplementation
Medium0.0%(0/0)200
Diamond Star Pattern

learn-m1-star-pattern

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

learn-m1-leap-year

ConditionalsMath
ConditionalsMath
Easy0.0%(0/0)100
Grade Calculator

learn-m1-grade-calculator

ConditionalsImplementation
ConditionalsImplementation
Easy0.0%(0/0)100
Canteen Rush Hours

learn-m1-io-e2

ConditionalsImplementationLoops
ConditionalsImplementationLoops
Easy0.0%(0/0)100
123…28