aboutsummaryrefslogtreecommitdiff
path: root/problems/boatraceanalysis/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/boatraceanalysis/attachments/template.js
(init): Initialize repository.
Diffstat (limited to 'problems/boatraceanalysis/attachments/template.js')
-rw-r--r--problems/boatraceanalysis/attachments/template.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/problems/boatraceanalysis/attachments/template.js b/problems/boatraceanalysis/attachments/template.js
new file mode 100644
index 0000000..7889d24
--- /dev/null
+++ b/problems/boatraceanalysis/attachments/template.js
@@ -0,0 +1,9 @@
+const n = parseInt(readline());
+for (let i = 0; i < n; i++) {
+ const analysis = readline();
+}
+
+// Write an answer using console.log()
+// To debug: console.error('Debug messages...');
+
+console.log('one line per boat with its position or one line per analysis causing an error');