aboutsummaryrefslogtreecommitdiff
path: root/problems/gameofquarters/attachments/template.js
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-09-30 16:08:27 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-09-30 16:08:27 +0530
commit3496b0ed08c51e37e135e686b1632fd86f930c2c (patch)
tree1da44792489607070f3b4ca14d82af05b73e362b /problems/gameofquarters/attachments/template.js
(init): Initialize repository.
Diffstat (limited to 'problems/gameofquarters/attachments/template.js')
-rw-r--r--problems/gameofquarters/attachments/template.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/problems/gameofquarters/attachments/template.js b/problems/gameofquarters/attachments/template.js
new file mode 100644
index 0000000..aa2903d
--- /dev/null
+++ b/problems/gameofquarters/attachments/template.js
@@ -0,0 +1,12 @@
+const numberOfRounds = parseInt(readline());
+for (let i = 0; i < numberOfRounds; i++) {
+ var inputs = readline().split(' ');
+ const aliceSequence = inputs[0];
+ const bobSequence = inputs[1];
+ const roundTosses = inputs[2];
+}
+
+// Write an answer using console.log()
+// To debug: console.error('Debug messages...');
+
+console.log('WINNER!');