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

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

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

university-id

ImplementationMathbasics
ImplementationMathbasics
Easy
100.0%(1/1)
100
Reverse the Array

reverse-array

ArraysImplementation
ArraysImplementation
Easy100.0%(1/1)100
Count Set Bits

learn-m1-count-set-bits

BinaryBit Manipulation
BinaryBit Manipulation
Easy0.0%(0/0)100
Odd or Even with Bitwise AND

learn-m1-odd-even-bit

Bit ManipulationBitwise AND
Bit ManipulationBitwise AND
Easy0.0%(0/0)100
Power of Two

learn-m1-power-of-two

Bit ManipulationMath
Bit ManipulationMath
Easy0.0%(0/0)100
Swap Two Numbers

learn-m1-swap-xor

Bit ManipulationXOR
Bit ManipulationXOR
Easy0.0%(0/0)100
Lowest Set Bit Value

learn-m1-lowest-set-bit

Bit ManipulationTwo's Complement
Bit ManipulationTwo's Complement
Easy0.0%(0/0)100
Check the K-th Bit

learn-m1-bit-e2

BinaryBit Manipulation
BinaryBit Manipulation
Easy0.0%(0/0)100
Bits to Flip Between Numbers

learn-m1-bit-e3

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

learn-m1-sum-first-n

FormulasMath
FormulasMath
Easy100.0%(1/1)100
Maximum In An Array

learn-m1-max-in-array

ArraysImplementation
ArraysImplementation
Easy0.0%(0/0)100
Nested Loop Iteration Count

learn-m1-nested-loop-count

LoopsMath
LoopsMath
Easy0.0%(0/0)100
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
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
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
12…12