aboutsummaryrefslogtreecommitdiff
path: root/test.jl
diff options
context:
space:
mode:
Diffstat (limited to 'test.jl')
-rw-r--r--test.jl3
1 files changed, 1 insertions, 2 deletions
diff --git a/test.jl b/test.jl
index 2d7b6de..d73c4b8 100644
--- a/test.jl
+++ b/test.jl
@@ -17,8 +17,7 @@ end
ans = 0
for i in A
for j in A
- global ans
- ans += gcd(i, j)
+ global ans += gcd(i, j)
end
end
println(ans)