aboutsummaryrefslogtreecommitdiff
path: root/problems/raidtime/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/raidtime/attachments/template.js
(init): Initialize repository.
Diffstat (limited to 'problems/raidtime/attachments/template.js')
-rw-r--r--problems/raidtime/attachments/template.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/problems/raidtime/attachments/template.js b/problems/raidtime/attachments/template.js
new file mode 100644
index 0000000..e2df260
--- /dev/null
+++ b/problems/raidtime/attachments/template.js
@@ -0,0 +1,13 @@
+const w = parseInt(readline());
+for (let i = 0; i < w; i++) {
+ const wall = readline();
+}
+const d = parseInt(readline());
+for (let i = 0; i < d; i++) {
+ const door = readline();
+}
+
+// Write an answer using console.log()
+// To debug: console.error('Debug messages...');
+
+console.log('0 C4 needed to go through 0 walls');