this is for holding javascript data
Mazdak Farrokhzad edited b) Algorithm.tex
almost 10 years ago
Commit id: 55101b46345f3cff781236955c4c9b37e2021e2f
deletions | additions
diff --git a/b) Algorithm.tex b/b) Algorithm.tex
index d898436..1e064d6 100644
--- a/b) Algorithm.tex
+++ b/b) Algorithm.tex
...
pow(p, k):
product <- 1
for i in 1..k:
product <- mul(product,
i) p)
return product
mul(x, y):
sum <- 0