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
Even and Odd Collection Sums

learn-m1-io-e3

ConditionalsImplementationLoops
ConditionalsImplementationLoops
Easy
0.0%(0/0)
100
Longest Attendance Streak

learn-m1-io-m2

ConditionalsImplementationLoops
ConditionalsImplementationLoops
Medium0.0%(0/0)200
Club Fund Ledger

learn-m1-io-m3

ConditionalsImplementationLoops
ConditionalsImplementationLoops
Medium0.0%(0/0)200
Spiral Garden Path

learn-m1-io-h2

ImplementationLoopsMatrix+1
ImplementationLoopsMatrix+1
Hard0.0%(0/0)300
GCD of Two Numbers

learn-m1-gcd-two-numbers

GCDNumber Theory
GCDNumber Theory
Easy0.0%(0/0)100
Prime Check

learn-m1-prime-check

Number TheoryPrimes
Number TheoryPrimes
Easy0.0%(0/0)100
Count Primes Up To N

learn-m1-sieve-count

Number TheorySieve
Number TheorySieve
Easy0.0%(0/0)100
LCM of a Pair

learn-m1-lcm-pair

GCDLCMNumber Theory
GCDLCMNumber Theory
Medium0.0%(0/0)200
Modular Exponentiation

learn-m1-modular-power

Binary ExponentiationNumber Theory
Binary ExponentiationNumber Theory
Hard0.0%(0/0)300
Count The Divisors

learn-m1-divisor-count

DivisorsNumber Theory
DivisorsNumber Theory
Easy0.0%(0/0)100
Perfect Number Check

learn-m1-perfect-number

DivisorsNumber Theory
DivisorsNumber Theory
Easy0.0%(0/0)100
Divisible by Nine

learn-m1-math-e2

DigitsNumber Theory
DigitsNumber Theory
Easy0.0%(0/0)100
Coprime Check

learn-m1-math-e3

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

learn-m1-math-m2

FactorialMath
FactorialMath
Medium0.0%(0/0)200
Prime Factorization

learn-m1-math-m3

Number TheoryPrime Factorization
Number TheoryPrime Factorization
Medium0.0%(0/0)200
Fibonacci Modulo M

learn-m1-math-h2

FibonacciMathModular Arithmetic
FibonacciMathModular Arithmetic
Hard0.0%(0/0)300
Reverse the Words

learn-m1-reverse-words

ArraysStrings
ArraysStrings
Easy0.0%(0/0)100
Matrix Row Sum

learn-m1-matrix-row-sum

ArraysImplementationMatrix
ArraysImplementationMatrix
Easy0.0%(0/0)100
Palindrome Check

learn-m1-palindrome-check

StringsTwo Pointers
StringsTwo Pointers
Easy0.0%(0/0)100
Count the Vowels

learn-m1-vowel-count

ImplementationStrings
ImplementationStrings
Easy0.0%(0/0)100
1234…28