Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion Example_Data.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ len:25
len:31
3 1 14 10 5 6 15 2 6 6 2 1 14 3 5 2 14 3 15 7 7 9 4 15 11 1 9 7 1 4 0

Example program: GCD (Ebob)
Example program 1: GCD (Ebob)
(---Replace X, Y with your numbers---)
where ( FinalR2 or [4] ) will be equal to gcd of x,y -> gcd(x,y)!
len:30
Expand Down Expand Up @@ -41,3 +41,14 @@ eski r1'i geri yükle
r1'den r2'yi çıkart. program başına dön.

final r2: gcd


Example program 2 : Prime checker
(---Replace X with your number---)
If your number is prime [0] will be 1 if not [0] will be 0
len:30
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[1, X, 8, 0, 10, 7, 0, 16, 2, 1, 11, 8, 0, 10, 16, 0, 2, 1, 3, 1, 16, 8, 0, 10, 26, 0, 2, 2, 3, 1, 16, 10, 34, 0, 3, 1, 2, 2, 14, 2, 1, 16, 10, 45, 0, 3, 1, 4, 37, 14, 13, 4, 1, 16,
10, 61, 1, 0, 8, 0, 0, 1, 1, 4, 37, 11, 8, 37, 9, 34]
len:70
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------