aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/test.txt b/test.txt
new file mode 100644
index 0000000..aa6c0fc
--- /dev/null
+++ b/test.txt
@@ -0,0 +1,20 @@
+Comment: Pseudocode
+
+define gcd(a, b)
+ if b > 0
+ return gcd(b, a mod b)
+ else
+ return a
+
+print "test"
+
+N = 1000
+A = []
+for i from 0 to N - 1
+ A[i] = i
+
+ans = 0
+for i in A
+ for j in A
+ ans = gcd(i, j) + ans
+print ans