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