Category:Action! Sieve of Eratosthenes: Difference between revisions
Category:Action! Sieve of Eratosthenes (view source)
Revision as of 22:55, 27 September 2022
, 1 year ago→Sieve of Eratosthenes: fixed syntax highlighting
(Created page with "== Sieve of Eratosthenes == The following module marks prime numbers using Sieve of Eratosthenes algorithm. <lang Action!>MODULE PROC Sieve(BYTE ARRAY primes INT count) C...") |
(→Sieve of Eratosthenes: fixed syntax highlighting) |
||
(One intermediate revision by one other user not shown) | |||
Line 1:
== Sieve of Eratosthenes ==
=== SIEVE.ACT ===
The following module marks prime numbers using Sieve of Eratosthenes algorithm.
<syntaxhighlight lang="action!">
MODULE
PROC Sieve(BYTE ARRAY primes INT count)
Line 22 ⟶ 25:
RETURN
MODULE
</syntaxhighlight>
|