aboutsummaryrefslogtreecommitdiff
path: root/entries
diff options
context:
space:
mode:
authorChristopher Powroznik2022-10-23 21:37:15 +0000
committerGitHub2022-10-23 21:37:15 +0000
commit0cf22c94832a4ae44536b25ec5d5c0e2132b1069 (patch)
tree1a5aa3f29e17cdfd5cf483603203b79008689257 /entries
parent3de00aa8511713c50564fa183671486530fdc0ae (diff)
fixed duplicated calculation
Diffstat (limited to 'entries')
-rw-r--r--entries/Metroxe/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/entries/Metroxe/index.html b/entries/Metroxe/index.html
index 98ac5b9..cb85a24 100644
--- a/entries/Metroxe/index.html
+++ b/entries/Metroxe/index.html
@@ -23,7 +23,7 @@
const n1 = s.substring(i1 + 1);
const n2 = i2 === -1 ? s.substring(0, i1 - 1) : s.substring(i2 + 1, i1);
const v = Number(n1) + Number(n2);
- const output = `${s},${Number(n1) + Number(n2)}`;
+ const output = `${s},${v}`;
document.getElementById("sequence").innerText = output;
const next = document.getElementById("next");