Apply Operations to Maximize Score
Choose a limited number of operations to maximise a score built from prime-based element strengths in subarrays. The visual counts which subarrays each element dominates and spends the operations on the largest values first.