Category:Action! Sieve of Eratosthenes: Difference between revisions

→‎Sieve of Eratosthenes: fixed syntax highlighting
(→‎Sieve of Eratosthenes: fixed syntax highlighting)
 
Line 5:
The following module marks prime numbers using Sieve of Eratosthenes algorithm.
 
<syntaxhighlight lang="action!">
<lang Action!>MODULE
MODULE
 
PROC Sieve(BYTE ARRAY primes INT count)
Line 24 ⟶ 25:
RETURN
 
MODULE</lang>
</syntaxhighlight>
3,021

edits